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
Touch seeded packages, 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:
  New

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to