You are not logged in.

#1 2012-06-15 22:59:11

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

pam (1.1.5-4) and pambase (20120602-1) upgrade issue...

... with sudo and how to solve it.

Effectively, latest update of these two packages left me with an error where sudo will fail to authenticate current user no matter it's already in the wheel group - and the wheel group itself uncommented in the sudoers file.
If you happens to be an unlucky one like me try to:
1. remove sudo and reinstall it.
2. reinstall pam & pambase.
3. recover your /etc/sudoers.pacsave file.

While this works, it would be great to know exactly what happened - so any comments are welcome.
I may think there must be something about pam not correctly loading sudo module or pambase misconfiguring something else but then, why upgrading of those package didn't work the first time but works the second time? As I said I would like to know _exactly_ what happened here so any comment is much appreciated :)

Cheers

Last edited by msx (2012-06-15 23:03:12)


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#2 2012-06-15 23:01:18

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: pam (1.1.5-4) and pambase (20120602-1) upgrade issue...

you used -f flag in combination with -Syu ?


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2012-06-15 23:04:01

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: pam (1.1.5-4) and pambase (20120602-1) upgrade issue...

Hi Ionut, yes I did :P
But didn't receive any warning as usually happens to be.
Thanks!

Last edited by msx (2012-06-15 23:06:21)


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#4 2012-06-15 23:45:43

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: pam (1.1.5-4) and pambase (20120602-1) upgrade issue...

msx wrote:

Hi Ionut, yes I did tongue
But didn't receive any warning as usually happens to be.
Thanks!

never but never ever use -f along with -Syu because it doesn't check to see if files are moved from one package to another and in this way you lose files.
I suggest to use pacman -Qk and reinstall all packages that have missing files.


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2012-06-16 02:20:15

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: pam (1.1.5-4) and pambase (20120602-1) upgrade issue...

Again, thank you very much, I'll do it right now.


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#6 2012-06-16 05:40:51

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: pam (1.1.5-4) and pambase (20120602-1) upgrade issue...

I also ran into this the other day. It turned out all that was needed was to re-install pam-base.

For me the problem was that somehow /etc/pam.d/other was missing on my system.

https://bbs.archlinux.org/viewtopic.php?id=143335

Offline

Board footer

Powered by FluxBB