J.D. Bronson wrote:
I have a daemon that I need to start at boot under
/usr/local/etc/rc.d

and I need it to run as a specific user.

Currently, from root, I su - {userid} and then launch it
and then log out.

Can I make this automated in /usr/local/etc/rc.d and if so how?

This is what I have in one line of my rc.local:

su -m [user] -c '[command]'

but check the man page first.

--

Tabor Kelly
[EMAIL PROTECTED]
http://tabor.taborandtashell.net
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to