You are not logged in.
After doing the above, I still receive the same error.
Offline
If you backup system-login and replace it with the pam stack the successful su-login uses:
cp /etc/pam.d/system-login /etc/pam.d/system-login.old
cp /etc/pam.d/su-l /etc/pam.d/system-loginOffline
There was no /etc/pam.d/su-l, however, I did have /etc/pam.d/su. I then performed the following:
cp /etc/pam.d/system-login /etc/pam.d/system-login.old
cp /etc/pam.d/su /etc/pam.d/system-loginAnd, as you might guess, the same error persisted.
Offline
The output from pacman -Qkk contained:
backup file: util-linux: /etc/pam.d/su-l (Modification time mismatch)Has /etc/pam.d/su-l been removed since then?
Offline
No, it has not. Well, I should say that it clearly has but I did not remove it.
However, I probably have the file on my backup. I can extract it and try what was suggested earlier.
***EDIT***
I did as I suggested above, and still received the same issue.
Last edited by ErdosOrGauss (2020-10-06 01:17:45)
Offline
Reinstall the util-linux package that should reinstall the file.
Edit:
What is the contents of /etc/pam.d/system/login at the moment?
Edit2:
The following will allow anyone to login as anyone if it fails the issue is probably not with pam.
/etc/pam.d/system/login
#%PAM-1.0
auth required pam_permit.so
account required pam_permit.so
password required pam_permit.so
session required pam_permit.soAfter testing restore the old /etc/pam.d/system/login
Last edited by loqs (2020-10-06 01:24:50)
Offline
Before continuing, I just wanted to say thank you for all of the help so far.
Reinstall the util-linux package that should reinstall the file.
I did as suggested. I then retried. The error still persisted. However, now it does not even ask me for my password.
What is the contents of /etc/pam.d/system/login at the moment?
I had already tried the suggestion above before seeing this. Consequently, I have included the output of the .old file and what is currently there.
.old:
#%PAM-1.0
#auth required pam_tally2.so onerr=succeed file=/var/log/tallylog
auth required pam_shells.so
auth requisite pam_nologin.so
auth include system-auth
#account required pam_tally2.so
account required pam_access.so
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_loginuid.so
session optional pam_keyinit.so force revoke
session include system-auth
session optional pam_motd.so motd=/etc/motd
session optional pam_mail.so dir=/var/spool/mail standard quiet
-session optional pam_systemd.so
session required pam_env.so
#auth optional pam_faildelay.so delay=5000000
#auth required pam_tall2.so deny=10 unlock_time=600 onerr=succeed file=/var/log/tallylogCURRENT
#%PAM-1.0
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth required pam_wheel.so use_uid
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.soLast edited by ErdosOrGauss (2020-10-06 01:24:52)
Offline
See edit2 to post #31:
At what point was zsh removed? Are you certain you able to login after the removal of zsh?
Offline
See edit2 to post #31:
Done.
At what point was zsh removed? Are you certain you able to login after the removal of zsh?
I know that zsh was removed, but I do not remember removing it. The removal must have happened after the update (though I do not know if the update necessarily caused it). Would you like me to try removing zsh and logging in?
Offline
I think I may just do a reinstallation and work from there. Thank you so much for your help. Should I mark this as solved or leave it open?
Offline
If you are going to reinstall you can use the report link to ask a moderator to bin the topic unless you think it would be of benefit to others.
Offline