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 |
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.
|
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. |