After changing the tc password via SSH or from the local console, i can't connect via ssh anymore. It always asks me to change my expired password :
$ ssh tc@192.168.1.45
tc@192.168.1.45's password:
(�-
//\ Core is distributed with ABSOLUTELY NO WARRANTY.
v_/_
www.tinycorelinux.com WARNING: Your password has expired.
You must change your password now and login again!
Changing password for tc
Old password:
New password:
Retype password:
Password for tc changed by tc
Connection to 192.168.1.45 closed.
$ ssh tc@192.168.1.45
tc@192.168.1.45's password: #### NEW PASSWD##
(�-
//\ Core is distributed with ABSOLUTELY NO WARRANTY.
v_/_
www.tinycorelinux.com WARNING: Your password has expired.
You must change your password now and login again!
Changing password for tc
Old password:
Some details, after changing the passwd, i use backup to keep the current /etc/passwd and /etc/shadow. After reboot i get 2 files for each passwd and passwd-, shadow and shadow-.
the password hash is different in shadow and shadow-.