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:

,----
| % echo $PATH
| /home/sven/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
| % sudo env | grep ^PATH
| [sudo] password for sven: 
| 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
`----


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.28.9-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debian-reference-en depends on:
ii  debian-reference-common       2.29       Debian system administration guide

debian-reference-en recommends no packages.

Versions of packages debian-reference-en suggests:
ii  doc-base                      0.9.1      utilities to manage online documen
pn  rutebook                      <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to