On 26/02/10 09:52, theymos wrote:
> What is the proper way to run commands as a particular non-root user at 
> system startup? Presumably sudo *can* do this, but I'm not sure if it's the 
> best way.

su - <username> -c <command>

For example

su - andy -c xinit 2&> /var/log/x-session.errors

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to