You are not logged in.

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

hipparchus
Member
Registered: 2019-10-31
Posts: 2

[RESOLVED] uninstalled krb5, cannot use su or sudo anymore

Hello,

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:

#%PAM-1.0
auth		include		system-auth
account		include		system-auth
session		include		system-auth

Any help would be greatly appreciated.

Last edited by hipparchus (2022-08-17 14:17:31)

Offline

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

seth
Member
Registered: 2012-09-03
Posts: 50,977

Re: [RESOLVED] uninstalled krb5, cannot use su or sudo anymore

You've probably left  (-dd) and reference (in /etc/pam.d/system-auth) https://archlinux.org/packages/communit … /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)

Offline

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

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: [RESOLVED] uninstalled krb5, cannot use su or sudo anymore

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


RI - Rest your Eyes and Self

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

Offline

#4 2022-08-17 14:20:01

hipparchus
Member
Registered: 2019-10-31
Posts: 2

Re: [RESOLVED] uninstalled krb5, cannot use su or sudo anymore

Hi, apologies for the late update, I've been quite busy.

I was able to solve it using the described methods: botting on a live distro, and following the **Pacman crashes during an upgrade** instructions provided in Dogknowsnx's post.

Thank you very much!

Offline

Board footer

Powered by FluxBB