You overwrote the /etc/password file with the update, whatever you set is now gone.
1) No password is required over USB (if using the default dropbear server).
If you changed the server from dropbear to sshd in the configuration file, put it back.
After checking that and fixing it if required, if you still can't log on (using ssh) over USB, then you are doing something else wrong.
2) TelNet never requires a password, you should be able to log in over the USB cable with telnet regardless of any changes to /etc/passwd or /etc/shadow.
Once you get access to the device, put back whatever change you where using to /etc/passwd and/or /etc/shadow.
OR
This time, follow the directions to setup public key authentication (which keeps your auth. in visible USB storage, where updates will not overwrite it).
The 'main' system has had root logins disabled forever, even before your 5.3.7
Only the 'diag' system allows root logins the way you are trying to use them.
Last edited by knc1; 12-10-2017 at 08:38 AM.
|