Quote:
Originally Posted by
mark54g
Did they ever have a password before? If not, you need to create one for them. This will not force their first password.
It have password, but still not works. ???
==================
# grep ratcha /etc/passwd /etc/shadow
/etc/passwd:ratcha.c:x:510:500:System Admin:/home/ratcha.c:/bin/ksh
/etc/shadow:ratcha.c:$1$O1z5V6.2$en8cRSXbDS0VGAT/XHbEZ/:14515:7:90:7:::
# passwd -d ratcha.c
Removing password for user ratcha.c.
passwd: Success
#
# grep ratcha /etc/passwd /etc/shadow
/etc/passwd:ratcha.c:x:510:500:System Admin:/home/ratcha.c:/bin/ksh
/etc/shadow:ratcha.c::14515:7:90:7:::
# ssh ratcha.c@localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key fingerprint is e6:6b:cd:ce:7c:c2:60:f5:22:f8:23:ac:f0:8b:ae:f6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
ratcha.c@localhost's password:
Permission denied, please try again.
ratcha.c@localhost's password:
Permission denied, please try again.
ratcha.c@localhost's password:
Permission denied (publickey,gssapi-with-mic,password).
=================