You are not logged in.

#1 2022-07-30 05:59:37

Registered: 2019-10-31
Posts: 1

uninstalled krb5, cannot use su or sudo anymore


I have a laptop that was left untouched for a good 6+ months. I encountered some issues updating my system, and had to change mirror lists and update the keyring due to various reported errors.

When trying to update the laptop, pacman reported conflicts between libverto and krb5, and prevented me from doing an upgrade. Thinking I could resolve it by simply uninstalling and reinstalling the packages, I ran:

sudo pacman -Rdd krb5

this seemed to have broken my ability to use su and sudo, and do any sorts of authentication:

using su:

su: Module is unknown

using sudo:

sudo: PAM authentication error: Module is unknown
sudo: a password is required

my /etc/pam.d/sudo:

auth		include		system-auth
account		include		system-auth
session		include		system-auth

Any help would be greatly appreciated.


#2 2022-07-30 07:15:51

Registered: 2012-09-03
Posts: 30,881

Re: uninstalled krb5, cannot use su or sudo anymore

You've probably left  (-dd) and reference (in /etc/pam.d/system-auth) … /pam-krb5/ ?
=> check /etc/pam.d/system-auth (the file included by sudo and prettym much everything else)

If you don't have access to a root shell, you need to fix this offline (ie. edit the file from a live-distro or the rescue shell)


#3 2022-08-01 09:13:11

Registered: 2021-04-12
Posts: 335

Re: uninstalled krb5, cannot use su or sudo anymore

In case @seth 's post was too cryptic, have a look here


"We are eternal, all this pain is an illusion" - Maynard James Keenan


Board footer

Powered by FluxBB