[Bug 1591137] Re: sudo ignores shortname aliases in sudoers file

Launchpad Bug Tracker 1591137 at bugs.launchpad.net
Fri Sep 9 21:36:19 UTC 2016


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: sudo (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1591137

Title:
  sudo ignores shortname aliases in sudoers file

Status in sudo package in Ubuntu:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1591137/+subscriptions



More information about the foundations-bugs mailing list