Mailinglist Archive: opensuse-factory (286 mails)
| < Previous | Next > |
Re: [opensuse-factory] how to make sudo useful?
- From: Guido Berhoerster <gber@xxxxxxxxxxxx>
- Date: Wed, 18 Aug 2010 16:42:55 +0200
- Message-id: <20100818144255.GD7879@xxxxxxxxxxxxxxxxxx>
* Juergen Weigert <jw@xxxxxxx> [2010-08-18 16:29]:
It does if you use sudo -s to start a shell.
--
Guido Berhoerster
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
Not only sudo's fault. Why the <cobe> was /sbin/ removed from users path
in the first place?
Are these tools no longer meant to be called by users:
traceroute, ip, ifconfig, yast, showmount, ...
-> they all have excellent reporting modes, that do not need root
privileges.
/etc/profile has a section titled 'Make path more comfortable'
if test "$UID" = 0 ; then
test -d /opt/kde3/sbin && PATH=/opt/kde3/sbin:$PATH
PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
fi
Anyway, this does not appear to not work for sudo.
It does if you use sudo -s to start a shell.
--
Guido Berhoerster
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |