You are not logged in.
Hi, after recent updates, I am getting duplicate password prompts when elevating user privileges.
What happens is this:
raqua@amd:~
$ yaourt -Syua
[sudo] password for raqua:
Password:
After sudo prompt I have pressed ctrl+c, otherwise I would get prompted 3 times before request of su password.
I have not been using sudo before the upgrade and I always used su prompt directly.
Changed packages:
==> Package upgrade only (new release):
core/device-mapper 2.02.160-1 1 -> 2
core/gcc 6.1.1-2 2 -> 3
core/gcc-libs 6.1.1-2 2 -> 3
core/lvm2 2.02.160-1 1 -> 2
==> Software upgrade (new version) :
core/gettext 0.19.7-1 -> 0.19.8.1-2
core/hwids 20160306-1 -> 20160421-1
core/linux 4.6.3-1 -> 4.6.4-1
core/pam 1.2.1-3 -> 1.3.0-1
core/procps-ng 3.3.11-2 -> 3.3.12-1
core/reiserfsprogs 3.6.24-1 -> 3.6.25-1
core/sudo 1.8.16-1 -> 1.8.17.p1-1
extra/freetype2 2.6.4-3 -> 2.6.5-2
extra/mesa 11.2.2-1 -> 12.0.1-1
extra/mesa-libgl 11.2.2-1 -> 12.0.1-1
extra/opus 1.1.2-1 -> 1.1.3-2
extra/p7zip 15.14.1-2 -> 16.02-1
extra/python-setuptools 1:24.0.2-1 -> 1:24.0.3-1
community/python-psutil 4.2.0-1 -> 4.3.0-1
I suspect pam upgrade is the issue here.
Thanks for any hints on what is wrong.
Last edited by Raqua (2016-07-17 21:06:59)
Offline
Have you disabled sudo password timeouts by any chance? If not do you use e.g. ldap to authenticate or have modified pam configs?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Do you get the same behaviour when you call e.g. 'sudo pacman', or is this only affecting yaourt and other unsupported utilities?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Have you disabled sudo password timeouts by any chance? If not do you use e.g. ldap to authenticate or have modified pam configs?
I have not changed anything regarding sudo recently and I was not using it anyway. Never. I always switch to root when needed instead of using sudo, so really, this is about the excessive sudo password request which started to appear even though it should not.
Do you get the same behaviour when you call e.g. 'sudo pacman', or is this only affecting yaourt and other unsupported utilities?
Yes, the same with pacman, but I do not have sudo configured:
$ sudo pacman -Syu
[sudo] password for raqua:
raqua is not in the sudoers file. This incident will be reported.
This is, however, expected behavior I would say.
Last edited by Raqua (2016-07-17 20:42:48)
Offline
Then it's strictly a yaourt issue. If you don't use sudo, why even have it installed?
Offline
Then it's strictly a yaourt issue. If you don't use sudo, why even have it installed?
That is what I thought until I saw it also on another occasion, which I can not remember what it was!
I got sudo pulled into my system as a dependency of something, not sure what it was, but something like gnome, something big. But now I checked what it was and found out that it is not needed anymore, so I removed it and the issue is gone. There was sudo updated on my system last time as well, so I guess something was changed there, that made it work different to previous version.
Anyway, this is solved. Thanks to all of you for the help.
Offline
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline