On Mon, Apr 27, 2009 at 05:35:44PM +0200, Sven Joachim wrote: > Package: debian-reference-en > Version: 2.29 > Severity: normal > > The "sudo configuration" chapter claims > > ,---- > | Since sudo(8) normally use normal user's environment variables > | to execute commands and normal user's "$PATH" variable is set to > | "/usr/local/bin:/usr/bin:/bin:/usr/games" by the system default, > | you should also adjust "$PATH" variable as: > | > | $ echo 'PATH=$PATH:/usr/sbin:/sbin' >> ~/.bashrc > `---- > > This is not correct, because sudo is built with the --secure-path option > on Debian:
Correct. The rationale was to make ifconfig easily usable from normal user. I will remove problematic parts and add following: TIP: If a normal user does administration, you may wish to set his "`$PATH`" to include "`/usr/sbin:/sbin`" for easier access to commands such as `ifconfig`(1) as normal user, too. Fixed in upstream wiki. Thanks. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

