← Back to team overview

kernel-packages team mailing list archive

[Bug 1527850] Re: sudo won't ask password

 

sudo is configured by default to allow running commands without
passwords for 15 minutes after the last successful authentication. You
can configure this via the timestamp_timeout parameter in your
sudoers(5) file. (Please remember to use visudo(8) to edit this file.)

If this isn't the issue, please do describe in detail how to reproduce.

Thank you

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1527850

Title:
  sudo won't ask password

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Tweaking my :etc/default/grub to find the shortest possible rootdelay=value option I found sudo didn't asked me for password:
  ^[[Ame@pcgksudo gedit /etc/default/grub

  (gedit:2484): Gtk-WARNING **: Calling Inhibit failed:
  GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
  org.gnome.SessionManager was not provided by any .service files

  (gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
  me@pc:~$ sudo update-grub
  Création du fichier de configuration GRUB…
  Image Linux trouvée : /boot/vmlinuz-3.13.0-74-lowlatency
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-74-lowlatency
  Image Linux trouvée : /boot/vmlinuz-3.13.0-74-generic
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-74-generic
  Image Linux trouvée : /boot/vmlinuz-3.13.0-73-lowlatency
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-73-lowlatency
  Image Linux trouvée : /boot/vmlinuz-3.13.0-73-generic
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-73-generic
  Found memtest86+ image: /boot/memtest86+.elf
  Found memtest86+ image: /boot/memtest86+.bin
  fait (done)
  me@pc:~$ cat /boot/grub/grub.cfg |grep dela
  	linux	/boot/vmlinuz-3.13.0-74-lowlatency root=UUID=09ecdff0-44fe-437e-8063-deabc6feb00e ro  bootdelay=13
  	linux	/boot/vmlinuz-3.13.0-74-generic root=UUID=09ecdff0-44fe-437e-8063-deabc6feb00e ro  bootdelay=13
  	linux	/boot/vmlinuz-3.13.0-73-lowlatency root=UUID=09ecdff0-44fe-437e-8063-deabc6feb00e ro  bootdelay=13
  	linux	/boot/vmlinuz-3.13.0-73-generic root=UUID=09ecdff0-44fe-437e-8063-deabc6feb00e ro  bootdelay=13
  me@pc:~$ cat /etc/issue
  Ubuntu 14.04.3 LTS \n \l

  me@pc:~$ uname -a
  Linux nux 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  me@pc:~$ 

  Reissuing the command in the same terminal after writing this ~bug~,
  pw still not asked:

  me@pc:~$ sudo update-grub
  Création du fichier de configuration GRUB…
  Image Linux trouvée : /boot/vmlinuz-3.13.0-74-lowlatency
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-74-lowlatency
  Image Linux trouvée : /boot/vmlinuz-3.13.0-74-generic
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-74-generic
  Image Linux trouvée : /boot/vmlinuz-3.13.0-73-lowlatency
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-73-lowlatency
  Image Linux trouvée : /boot/vmlinuz-3.13.0-73-generic
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-73-generic
  Found memtest86+ image: /boot/memtest86+.elf
  Found memtest86+ image: /boot/memtest86+.bin
  fait (done)
  me@pc:~$ 

  Closing the terminal then reissuing the command in a new one, password is asked as intended:
  me@pc:~$ sudo update-grub
  [sudo] password for me: 
  Création du fichier de configuration GRUB…
  Image Linux trouvée : /boot/vmlinuz-3.13.0-74-lowlatency
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-74-lowlatency
  Image Linux trouvée : /boot/vmlinuz-3.13.0-74-generic
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-74-generic
  Image Linux trouvée : /boot/vmlinuz-3.13.0-73-lowlatency
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-73-lowlatency
  Image Linux trouvée : /boot/vmlinuz-3.13.0-73-generic
  Image mémoire initiale trouvée : /boot/initrd.img-3.13.0-73-generic
  Found memtest86+ image: /boot/memtest86+.elf
  Found memtest86+ image: /boot/memtest86+.bin
  fait
  me@pc:~$

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