You are not logged in.

#1 2024-04-12 06:24:17

fredbezies
Member
Registered: 2011-07-28
Posts: 353

sudo is broken with pam 1.6.1-2

Hello.

Recently pam was updated to version 1.6.1-2. But I noticed every time I want to launch sudo, my password is not recognized and sudo tells me that my password is incorrect.

My "fix" was to downgrade to pam 1.6.1-1.

Does anybody face this issue?

Offline

#2 2024-04-12 08:10:43

mpan
Member
Registered: 2012-08-01
Posts: 1,211
Website

Re: sudo is broken with pam 1.6.1-2

sha1sum /etc/pam.d/{sudo,system-auth}
pacman -Q sudo pambase

Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2024-04-12 08:46:32

impossibleveins23
Member
Registered: 2022-06-18
Posts: 83

Re: sudo is broken with pam 1.6.1-2

And: sudo -l.
Perhaps following the update, you have overwritten /etc/sudoers.

Offline

#4 2024-04-12 09:17:21

seth
Member
Registered: 2012-09-03
Posts: 51,648

Re: sudo is broken with pam 1.6.1-2

Not gonna be restored w/ a pam downgrade.

The odd part is that the only difference between 1.6.1-1 and 1.6.1-2 is the added libnsl dependency, https://gitlab.archlinux.org/archlinux/ … f6ed197f90
But libnsl is dependency of pam itself, so that should be completely idempotent.

@fredbezies - any pam errors in the journal after the sudo failure?
Next to the shasum, maybe just also post the contents

tail -n1000 /etc/pam.d/{sudo,system-auth}

Offline

#5 2024-04-12 17:57:55

mpan
Member
Registered: 2012-08-01
Posts: 1,211
Website

Re: sudo is broken with pam 1.6.1-2

A note: I asked for hashes to tell, if the configuration files are modified without fredbezies having to reveal them to us. In retrospection: all the requested actions can be simplified to:

pacman -Qii pambase sudo

Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

Board footer

Powered by FluxBB