Mailinglist Archive: opensuse-factory (286 mails)
| < Previous | Next > |
[opensuse-factory] how to make sudo useful?
- From: Jan Matejek <jan.matejek@xxxxxxxxxx>
- Date: Wed, 18 Aug 2010 16:11:14 +0200
- Message-id: <4C6BEA02.2030306@xxxxxxxxxx>
hi,
i have been bitten by this too many times to count already. After
setting reasonable permissions for group wheel in sudoers file, i get this:
matejcik@ws-pool1:~> yast2
Absolute path to 'yast2' is '/sbin/yast2', so running it may require
superuser privileges (eg. root).
matejcik@ws-pool1:~> sudo yast2
sudo: yast2: command not found
the question: how the <cobe> do i convince sudo that it should, in fact,
use root's path?
alternately, how do i add 'sbin' to user path permanently (systemwide)
and make sudo remember it?
optional third question: shouldn't the first proposed behavior (having
sudo use root's paths) be the default? if not, why?
thanks for any hints.
m.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
i have been bitten by this too many times to count already. After
setting reasonable permissions for group wheel in sudoers file, i get this:
matejcik@ws-pool1:~> yast2
Absolute path to 'yast2' is '/sbin/yast2', so running it may require
superuser privileges (eg. root).
matejcik@ws-pool1:~> sudo yast2
sudo: yast2: command not found
the question: how the <cobe> do i convince sudo that it should, in fact,
use root's path?
alternately, how do i add 'sbin' to user path permanently (systemwide)
and make sudo remember it?
optional third question: shouldn't the first proposed behavior (having
sudo use root's paths) be the default? if not, why?
thanks for any hints.
m.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |