You are not logged in.

#26 2020-10-06 00:57:34

ErdosOrGauss
Member
Registered: 2017-06-21
Posts: 40

Re: login screen loop after update

After doing the above, I still receive the same error.

Offline

#27 2020-10-06 01:02:54

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: login screen loop after update

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-login

Offline

#28 2020-10-06 01:07:27

ErdosOrGauss
Member
Registered: 2017-06-21
Posts: 40

Re: login screen loop after update

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-login

And, as you might guess, the same error persisted.

Offline

#29 2020-10-06 01:13:07

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: login screen loop after update

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

#30 2020-10-06 01:14:08

ErdosOrGauss
Member
Registered: 2017-06-21
Posts: 40

Re: login screen loop after update

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

#31 2020-10-06 01:16:18

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: login screen loop after update

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.so

After testing restore the old /etc/pam.d/system/login

Last edited by loqs (2020-10-06 01:24:50)

Offline

#32 2020-10-06 01:24:25

ErdosOrGauss
Member
Registered: 2017-06-21
Posts: 40

Re: login screen loop after update

Before continuing, I just wanted to say thank you for all of the help so far.


loqs wrote:

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/tallylog

CURRENT

#%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.so

Last edited by ErdosOrGauss (2020-10-06 01:24:52)

Offline

#33 2020-10-06 01:40:54

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: login screen loop after update

See edit2 to post #31:
At what point was zsh removed?  Are you certain you able to login after the removal of zsh?

Offline

#34 2020-10-06 01:45:22

ErdosOrGauss
Member
Registered: 2017-06-21
Posts: 40

Re: login screen loop after update

loqs wrote:

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

#35 2020-10-06 01:53:52

ErdosOrGauss
Member
Registered: 2017-06-21
Posts: 40

Re: login screen loop after update

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

#36 2020-10-06 01:58:28

loqs
Member
Registered: 2014-03-06
Posts: 19,043

Re: login screen loop after update

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

Board footer

Powered by FluxBB