Quote:
Originally Posted by silver18
So I should try the passwd root to change the password.
Isn't it possible to boot into diags (with ENABLE_DIAGS) then copy the /etc/shadow and place it in main? It should reset the password to default (mario?!)?
Or, another one: copy the main /ect/shadow then use john the ripper to crack the password.
But, with case 2 & 3 (diags shadow and main shadow), how can I change the password then?
I'm just reading and asking, as I don't have my kindle here...I'll try this evening!
|
I would suggest a modification to your #1 -
* Don't move the entire file, just move the root line
* Do move the root line of both /etc/shadow and /etc/passwd
(I.E: Make a consistent change to both files from diag to main.)
**THEN**
If you don't like the password you end up with, use the passwd utility to change it.