You are not logged in.
Yesterday I overwrote some files:
- /etc/pam.d/passwd
- /etc/shells
- /etc/pacman.d/mirrorlist
- /etc/makepkg.conf
Now I cannot log in as my normal user, root works though so I can fix this. I ensured that I enter the password correctly when login in. /etc/passwd and /etc/shadow weren‘t touched and I am able to su to the user, switch passwords and execute sudo. Starting dwm with xinit doesn‘t work though.
First Question:
I use zsh, does zsh need to be in /etc/shells
Second Question:
I guess the login files due to the changes in /etc/pam.d/passwd. Now every like has „system-auth“ now which wasn‘t before. When I looked at my buddies config file it also used system-auth so I am not sure what is wrong here. As far as I can tell /etc/pam.d/system-auth looks fine but I have no knowledge with pam.
Here are some files which I guess are relevant
passwd: http://0x0.st/HWPA.txt
system-auth: http://0x0.st/HWPm.txt
I‘ll gladly submit more files.
Thank you very much!
PS: I‘ll read up on how to handle pacnew files as soon as possible so this isn‘t repeated
Last edited by Jocomol (2023-10-02 07:10:49)
Offline
I use zsh, does zsh need to be in /etc/shells
Yes and it's likely the cause.
Offline
Yup that did it. i tried it before but only added /usr/bin/zsh to it, /bin/zsh was missing aswell.
Thanks as always seth.
Offline