Run program as user
Hi,
I'm trying to setup a Linux install to start a program on boot, with the privilages of a non-su user. I've been googling for days and have been looking for a clue as to where to start on this. Currently, I've got a startup script that starts up out of rc.local, but it runs as root. I don't want this program to run as root for two reasons. First I feel it is a security problem, and second the user can't access the program to stop / restart it. If anyone could point me in the right direction, I would be gratefull until the end of time... if not, I'll still be gratefull *grin*. Disto= Fedora Core 2 Thanks Shannon |
You can do it with su:
su - SOMEUSER /path/to/program |
All times are GMT -5. The time now is 12:43 PM. |