View Single Post
Old 07-30-2013, 08:57 AM   #368
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by silver18 View Post
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.
knc1 is offline   Reply With Quote