I have change the user's (user1) password using root
passwd user1
but when i tried to ssh user@localhost
or through gdm
or tty
it always failed
the journalctl
log shows
Failed password for user1 from ::1
FAILED LOGIN 1 FROM tty3 FOR user1, Authentication failure
pam_unix(gdm-password:auth): conversation failed
pam_unix(gdm-password:auth): auth could not identify password for [user1]
I'm using fresh Arch Linux installation (64-bit)
/usr/bin/bash
and/bin/bash
both execute a shell. But only the latter will allow proper login. – Jan 11 '15 at 19:32-rwxr-xr-x 1 root root 787584 2014.10.06 13:06 /usr/bin/bash*
it isn't-rwxr-xr-x 1 root root 787584 2014.10.06 13:06 /bin/bash*
– Kokizzu Jan 14 '15 at 00:36UsePAM yes
. That option only applies to password / kbdinteractive logins. – anahata Jun 21 '23 at 23:30