Mailinglist Archive: opensuse-factory (1264 mails)
| < Previous | Next > |
Re: [opensuse-factory] run commands as system user
- From: "phanisvara das" <listmail@xxxxxxxxxxxxxx>
- Date: Sun, 11 Sep 2011 04:09:51 +0530
- Message-id: <op.v1l6kpac2qyk0d@phani.home>
On Sun, 11 Sep 2011 04:02:06 +0530, Robert Xu <rxu@xxxxxxxxxxxxxxx> wrote:
did you literally type "su - systemuser"?
"systemuser" is supposed to be replaced by the name of your 'systemuser,' usually root.
try "su - -c <command>"
because leaving the system user's name blank defaults to "root".
--
phani.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
Hi all,
How can I run a command as a system user?
(because su - systemuser -c "command" doesn't work ...)
did you literally type "su - systemuser"?
"systemuser" is supposed to be replaced by the name of your 'systemuser,' usually root.
try "su - -c <command>"
because leaving the system user's name blank defaults to "root".
--
phani.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |