LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-30-2004, 01:23 PM   #1
dee3lmo
LQ Newbie
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Slackware 10.0
Posts: 9

Rep: Reputation: 0
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
 
Old 07-30-2004, 04:56 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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.
 
Old 07-30-2004, 07:37 PM   #3
dee3lmo
LQ Newbie
 
Registered: Jul 2004
Location: The Netherlands
Distribution: Slackware 10.0
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting a Service at Boot as a Different user Butterbroetchen Linux - Security 2 05-16-2005 07:05 PM
Service won't start unless run as root user gauge73 Linux - General 3 05-07-2005 10:37 PM
Is it possible to start a service but not as a root user appas Linux - Software 1 10-15-2004 11:26 PM
X server not starting as non root user Draylath Linux - Newbie 16 06-25-2004 02:02 PM
Startup service run by user other than root? WeNdeL Linux - Newbie 5 03-20-2003 02:57 PM


All times are GMT -5. The time now is 05:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration