I am newbee at Pi3B. I installed Jessie at Pi3B board.
Whenever I reboot the board, the pi's password was changed into unknown value. So, I delete pi's password encryption field from /etc/password everytime and reset the password. Then the password remains until I reboot. This is stupid. Can anyone tell me what is wrong on the password ?
P.S. I found similar questions in this forum. But, no answers found yet. I am not using WiFi and my ssh and internet work well after I reset the password.
To change the password for pi, I simply used $passwd command. It seems work well. About the password, user-entered passwod is eventually encrypted and wrote onto the /etc/password file. I tried raspi-config to change pi's password, but, still the same problem.
raspi-configto change the password? NOTE the password is NOT stored in/etc/password– Milliways Oct 08 '17 at 06:41/etc/passwdand make the account passwordless. Also, a hash of the password (== a one-way encrytion) will appear in that field after you set one, untilpwconvis run, at which point it will be replaced with anx. – goldilocks Oct 08 '17 at 14:12abc123) to make sure there is no mistake, and perhaps runsudo pwconvafter you set it to make sure there are no hijinx going on there. – goldilocks Oct 08 '17 at 14:25/etc/shadownot in/etc/passwd. – 88weighed Oct 08 '17 at 14:37passwd/shadowfile - or to actually change the password - you should edit/etc/shadowusingpasswd(and note the above comments). If you have edited the files directly (can work well as a off-line hack for a forgotten Pi password!), you can check the files usingpwck -r /etc/passwd&pwck -r /etc/shadow– Wilf Jul 30 '18 at 22:10