[Bug 1562419] Re: Unable to set a number with a fractional part as the value to the timestamp_timeout option in /etc/sudoers

kos 1562419 at bugs.launchpad.net
Sun Mar 27 07:33:55 UTC 2016


** Description changed:

  % lsb_release -rd
  Description:	Ubuntu 15.10
  Release:	15.10
- user at user-X550CL ~ % apt-cache policy sudo
+ % apt-cache policy sudo
  sudo:
    Installed: 1.8.12-1ubuntu3
    Candidate: 1.8.12-1ubuntu3
    Version table:
   *** 1.8.12-1ubuntu3 0
          500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
          100 /var/lib/dpkg/status
  
  ---
  
  Setting a number with a fractional part as the value to the
  timestamp_timeout option in /etc/sudoers makes sudo complain about it,
  not honor the desired timeout and behave as if timestamp_timeout wasn't
  set at all: after the expiration of the first timestamp sudo stops
  complaining about it, but the desired timeout is still not honored.
  
  % sudo sleep 1
  sudo: value `2.5' is invalid for option `timestamp_timeout'
  % sudo -l
  sudo: value `2.5' is invalid for option `timestamp_timeout'
  Matching Defaults entries for user on user-X550CL:
      env_reset, timestamp_timeout=2.5, mail_badpass,
      secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
  
  User user may run the following commands on user-X550CL:
      (ALL : ALL) ALL
  
  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: sudo 1.8.12-1ubuntu3
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sat Mar 26 23:36:41 2016
  InstallationDate: Installed on 2016-02-16 (39 days ago)
  InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Release amd64 (20151021)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no username)
   XDG_RUNTIME_DIR=<set>
   LANG=it_IT.UTF-8
   SHELL=/usr/bin/zsh
  SourcePackage: sudo
  UpgradeStatus: No upgrade log present (probably fresh install)
  VisudoCheck:
   /etc/sudoers: parsed OK
   /etc/sudoers.d/README: parsed OK
  modified.conffile..etc.sudoers: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers']
  modified.conffile..etc.sudoers.d.README: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers.d/README']

-- 
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/1562419

Title:
  Unable to set a number with a fractional part as the value to the
  timestamp_timeout option in /etc/sudoers

Status in sudo package in Ubuntu:
  New

Bug description:
  % lsb_release -rd
  Description:	Ubuntu 15.10
  Release:	15.10
  % apt-cache policy sudo
  sudo:
    Installed: 1.8.12-1ubuntu3
    Candidate: 1.8.12-1ubuntu3
    Version table:
   *** 1.8.12-1ubuntu3 0
          500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
          100 /var/lib/dpkg/status

  ---

  Setting a number with a fractional part as the value to the
  timestamp_timeout option in /etc/sudoers makes sudo complain about it,
  not honor the desired timeout and behave as if timestamp_timeout
  wasn't set at all: after the expiration of the first timestamp sudo
  stops complaining about it, but the desired timeout is still not
  honored.

  % sudo sleep 1
  sudo: value `2.5' is invalid for option `timestamp_timeout'
  % sudo -l
  sudo: value `2.5' is invalid for option `timestamp_timeout'
  Matching Defaults entries for user on user-X550CL:
      env_reset, timestamp_timeout=2.5, mail_badpass,
      secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin

  User user may run the following commands on user-X550CL:
      (ALL : ALL) ALL

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: sudo 1.8.12-1ubuntu3
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sat Mar 26 23:36:41 2016
  InstallationDate: Installed on 2016-02-16 (39 days ago)
  InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Release amd64 (20151021)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no username)
   XDG_RUNTIME_DIR=<set>
   LANG=it_IT.UTF-8
   SHELL=/usr/bin/zsh
  SourcePackage: sudo
  UpgradeStatus: No upgrade log present (probably fresh install)
  VisudoCheck:
   /etc/sudoers: parsed OK
   /etc/sudoers.d/README: parsed OK
  modified.conffile..etc.sudoers: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers']
  modified.conffile..etc.sudoers.d.README: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers.d/README']

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



More information about the foundations-bugs mailing list