files in sudoers.d no longer being read or honored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hostname (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Previously reported bug not ever assigned: https:/
Currently using KDEneon User Edition LTS 18.04 fully updated.
No known entry format in /etc/sudoers.d/ appear to be read by sudoers any longer. All files under /etc/sudoers.d/ are permissions 0440 and root owned. visudo -c confirms the syntax passes the checks. Prior to last month, files in suoders.d were read and worked IF you used the FQDM and not the hostname (as should be allowed thus the prior bug report). Some update must have broken the usage.
I have attempted the following formats in /etc/sudoers.d/apt;
stuart office.smith.lan = (root) NOPASSWD: /usr/bin/
stuart office = (root) NOPASSWD: /usr/bin/
stuart office.smith.lan = (root) NOPASSWD: /usr/bin/apt-get
stuart office.smith.lan = (root) NOPASSWD: /usr/bin/apt
stuart office.smith.lan = (root) NOPASSWD: /usr/bin/
stuart office.smith.lan = (root) NOPASSWD: /usr/bin/
stuart ALL = (root) NOPASSWD: /usr/bin/
ALL ALL= (root) NOPASSWD: /usr/bin/
The first one above worked in 16.04. Prior to that (15.04) the second one worked. I have tried all of these and none are honored.
apt-cache policy sudo
sudo:
Installed: 1.8.21p2-3ubuntu1
Candidate: 1.8.21p2-3ubuntu1
Version table:
*** 1.8.21p2-3ubuntu1 500
500 http://
100 /var/lib/
This bug appears to be related to KDEneon only.