10 Sep
2011
10 Sep
'11
22:54
Hi,
su - systemuser -c "command" -s /bin/bash
So you are replacing usual for system users /bin/false with /bin/bash
just once for this command execution.
Regards,
Yury
2011/9/11 Robert Xu
Hi all,
How can I run a command as a system user? (because su - systemuser -c "command" doesn't work ...)
-- Robert Xu + Linux is awesome; don't doubt what it can do + rxu(at)lincomlinux(dotttttt)org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org