Package: sudo
Version: 1.6.8p12-4
Severity: important

sudo fails with a command not found error when trying to execute any
command that lives in /sbin or /usr/sbin. However the environment is set
properly:

[EMAIL PROTECTED] ~ ]% env | grep PATH
PATH=/home/fsateler/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
[EMAIL PROTECTED] ~ ]% sudo visudo
sudo: visudo: command not found
[EMAIL PROTECTED] ~ ]% sudo env | grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
[EMAIL PROTECTED] ~ ]% sudo which visudo
/usr/sbin/visudo

This is running zsh, but fails also with bash. The config file has the
env_reset option set, and no other option. The user which calls sudo has
an ALL=ALL config line.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sudo depends on:
ii  libc6                         2.3.6-19   GNU C Library: Shared libraries
ii  libpam-modules                0.79-3.2   Pluggable Authentication Modules f
ii  libpam0g                      0.79-3.2   Pluggable Authentication Modules l

sudo recommends no packages.

-- no debconf information


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

Reply via email to