← Back to team overview

kernel-packages team mailing list archive

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

 

I know that. I remember I did several boots and on each, just after closing/saving gksudo gedit /etc/default/grub, ctrl+alt+t then up arrow then enter not waiting the terminal was opened to recall sudo update-grub from ~/.bash_history, then reboot to test if the bootdelay option was enough or too long until I find the exact amount of seconds needed.
As I experienced this several times, I thought it was a story of responsiveness of the system and decided to fill this bug. I'll try to reproduce. Feel free to set back to hidden/security issue.

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