LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Starting a service as non root user? (https://www.linuxquestions.org/questions/linux-general-1/starting-a-service-as-non-root-user-211546/)

dee3lmo 07-30-2004 01:23 PM

Starting a service as non root user?
 
Hi,

Must a service always be started as root? Sometimes my Internet connection is lost due to a connection error and I must reconnect. Is it advisable to create a new account to perform this task? Or must the root user run the service that reconnects my box to the Internet?

Regards,
dee3lmo

trickykid 07-30-2004 04:56 PM

Its best to use an account at times that has no password. Example: the user 'nobody' is usually very common on systems, setup any service you like to run as that user and so on. Some services though might require root to run it.

dee3lmo 07-30-2004 07:37 PM

How do I run the service as user nobody? Do I have to login as this user or must I create a new user and make it part of the nobody group? How do I know when a service must be run as root?

Kind regards,
dee3lmo


All times are GMT -5. The time now is 10:30 AM.