On Mon, 18 Nov 2002, Dhruv wrote:

>     anyhow any idea how i can start a program on server startup as non root
> ?

  Just because it is started as root, doesn't mean it needs to stay as 
root.


You can add something like the following to your rc.local script.

su - russell -c /home/russell/bin/start-the-server.sh


  It is started when the machine is boot, but it is started as user 
'russell'.

assumption:  The server you want doesn't need to be bound to a port <1024 
which root must do.

  You haven't really defined the problem in a way that I can really give
you a good answer.

---
 Russell McOrmond, Internet Consultant: <http://www.flora.ca/>
 See http://weblog.flora.ca/ for announcements, activities, and opinions
 Most recently in Toronto: Copyright or Wrong? http://www.rabble.ca/rumble/
 ALERT! ISP Licensing!  http://weblog.flora.org/article.php3?story_id=273


--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to