Package: sudo
Version: 1.8.15-1.1
Severity: normal
Dear Maintainer,
Apparently the hostname parameter is now checked against the qualified
hostmane. If true, please correct or document it.
As shown below the line with only hostanme is ignored.
Thanks for your time, ric
root@mymachine:~# sudoedit /etc/sudoers.d/local_sudoers
root@mymachine:~# cat /etc/sudoers.d/local_sudoers
Host_Alias LOCALHOST = mymachine.somewhere.fr
Cmnd_Alias SYNC = /usr/local/sbin/sync2all, /usr/local/sbin/sync2cnrs
ric LOCALHOST = (root) NOPASSWD:SYNC
ric mymachine = (root) NOPASSWD:/usr/local/sbin/testicolo
root@mymachine:~# su ric
ric@mymachine:/root$ sudo --list
Matching Defaults entries for ric on mymachine.somewhere.fr:
env_reset, mail_badpass,
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User ric may run the following commands on mymachine.somewhere.fr:
(root) NOPASSWD: /usr/local/sbin/sync2all, /usr/local/sbin/sync2cnrs
ric@mymachine:/root$ exit
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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-6
ii libpam-modules 1.1.8-3.1
ii libpam0g 1.1.8-3.1
ii libselinux1 2.4-3
sudo recommends no packages.
sudo suggests no packages.
-- Configuration Files:
/etc/sudoers [Errno 13] Permission denied: u'/etc/sudoers'
/etc/sudoers.d/README [Errno 13] Permission denied: u'/etc/sudoers.d/README'
-- no debconf information