Public bug reported: Our sudoers file contains host aliases which all work fine on versions of Ubuntu < 16.04.
On 16.04, it has become necessary to include the FQDN of the machine in order for sudo permissions to be granted. I have reproduced this problem on two cleanly-installed servers. i.e. This entry in /etc/sudoers does not work for members of sudo group:- %sudo ourserver This entry in /etc/sudoers does work for members of sudo group:- %sudo ourserver.our.domain Extra information which may be of interest: 'hostname' returns the shortname on both Ub1604 and Ub1404 installations /etc/hosts lists machines by fqdn and then shortname on both platforms, i.e. ip.ad.dr.es ourserver.our.domain ourserver /etc/resolv.conf is set to search our.domain, same on both platforms sudo package version is 1.8.16-0ubuntu1.1 Bw John ** Affects: sudo (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591137 Title: sudo ignores shortname aliases in sudoers file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1591137/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs