Results 1 to 2 of 2
I should remember this, but have forgotten what user executes the startup scripts. Can I specify a user that should be executing a particular script? Thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-27-2005 #1
What user execs rc.d scripts?
- 06-27-2005 #2
- Join Date
- Nov 2004
- WGS84 phi = 45 48 31.7 lambda = 15 57 49.0
basicly root user runs all the scripts in /etc/rc.d, but if you want to run a script as someone else you can try the followingCode:
su username -c 'command or script name'