On Wed, January 16, 2008 12:10 pm, James G. Sack (jim) wrote: > Lan Barnes wrote: >> I want to have a non-root user start a program on start up. I suspect >> that >> there is some mojo I can add to a line in rc.local that will have the >> line >> executed by someone other than root. >> >> Anybody? Anybody? Bueller? >> > > Maybe you're thinking it's more complicated than it is? Howbout: > # su lan -c 'proggie args'
This isn't working: su perforce -c 'p4d -r /data/p4/ -p 1666 &' It works at the CLI. > or > # sudo lan proggie args > according to whichever you find easier to remember. > > Regards, > ..jim > > > -- > [email protected] > http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list > -- Lan Barnes SCM Analyst Linux Guy Tcl/Tk Enthusiast Biodiesel Brewer -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
