Package: sudo
Version: 1.8.15-1.1
Severity: normal

Current versions of sudo fail to honour the NOPASSWD directive set for a 
user/host/command set in /etc/sudoers:

sudo -n apt-get update
sudo: a password is required


/etc/sudoers says:

xxx xxxx=NOPASSWD:/usr/bin/apt-get

(of course, in the sudoers I have the real user and host names)

I haven't changed the sudoers, so it must be a recent undocumented change in 
programme behaviour. 

The same configuration works just fine in Arch Linux.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable'), 
(500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sudo depends on:
ii  libaudit1       1:2.4.5-1
ii  libc6           2.21-9
ii  libpam-modules  1.1.8-3.2
ii  libpam0g        1.1.8-3.2
ii  libselinux1     2.4-3

sudo recommends no packages.

sudo suggests no packages.

-- Configuration Files:
/etc/sudoers [Errno 13] Keine Berechtigung: u'/etc/sudoers'
/etc/sudoers.d/README [Errno 13] Keine Berechtigung: u'/etc/sudoers.d/README'

-- no debconf information

Reply via email to