[ale] programs at boot up

Larry Richardson larryr2 at bellsouth.net
Fri Dec 12 05:25:33 EST 2003


You can use 'su' to run commands as a different user.  Put this line 
(with the proper vncserver args) into rc.local:

su someusername -c "vncserver -display ..."

If you omit the someusername, it will run as root.

Larry Richardson
larryr2 at bellsouth.net


Robert Coggins wrote:
> Hey all,
> 
> I am trying to get a specific program to run at boot.  With special
> switches, of course.  The problem I am running into is I want the
> program run as a certain user.  For example,  I want vncserver to run as
> user foobar when the system starts.  I know you use /etc/rc.d/rc.local
> to have them run but beyond this I am clueless...  Any ideas?  Thanks
> all!
> 
> -Rob
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 




More information about the Ale mailing list