On Fri, 26 Feb 2010 12:04 +0000, "Andrew Benton" wrote: > 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
Cool, thanks! I knew I had to be missing something simple like that. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
