I have change the user's (user1) password using rootpasswd user1but when i tried to ssh user@localhost or through gdm or tty it always failedthe journalctl log showsFailed password for user1 from ::1 FAILED LOGIN 1 FROM tty3 FOR user1, Authentication failurepam_unix(gdm-password:auth): conversation failedpam_unix(gdm-password:auth): auth could not identify password for [user1]I'm using fresh Arch Linux installation (64-bit)
Cannot login for one user, changing password have no effect
arch linux;authentication
So the solution was, change the /etc/passwd filefor user1's shell from /usr/bin/bash into /bin/bash