Hi
In Android 13 we are using .RC file to any service , but maximum our services are running with root user but its not a good practice. tell me how to create new user like system, audio, media etc ...
foo.rc ---> file
--------------------------------------------------
service foo /vendor/bin/foooo
user root
group media audio system
seclabel u:r:watchdogd:s0
In Android 13 we are using .RC file to any service , but maximum our services are running with root user but its not a good practice. tell me how to create new user like system, audio, media etc ...
foo.rc ---> file
--------------------------------------------------
service foo /vendor/bin/foooo
user root
group media audio system
seclabel u:r:watchdogd:s0