15 Feb
2009
15 Feb
'09
18:30
Greg Freemyer wrote:
All,
I'm familiar with /etc/rc.d and friends, but those all run as root.
I have a small script I want to run every bootup, but as a specific user.
Is there an official way to do that?
I believe su will do that. You can use it to run a command as a different user. You'd use something like: su - username -c path/command You can place that command in /etc/init.d/after.boot. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org