Date: Thu, 11 Dec 2003 17:35:01 -0700 From: David Bear <David.Bear@asu.edu> To: freebsd-questions@freebsd.org Subject: startup scripts in /usr/local/etc/rc.d Message-ID: <20031211173501.G4978@asu.edu>
next in thread | raw e-mail | index | archive | help
I am wondering if scripts in /usr/local/etc/rc.d MUST be owned by root in order to be run. If I have a daemon on want started, AND I want it to run as user "DORK", can I have the binary and the startscript owned by user "DORK" in order to have it started that way? the more I think about this, the more I get confused... If a startup script lives in /usr/local/etc/rc.d does its ownership determine the ownership of the process it starts? or is the the owner of the binary the script starts that determines the owner of the process And, if it needs to change ownership, is it up to the program itself to change who it runs as? -- David Bear phone: 480-965-8257 fax: 480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031211173501.G4978>