View Single Post
Old 01-22-2015, 05:06 AM   #26
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 volkaoth View Post
- - - - - -
why not simply copy '/etc/passwd' and '/etc/shadow' from diag-mode to normal-mode?
If all of the other user names, user ids, group names and group ids are the same - nothing.

But rather than verify all of that, just copy the single line **ENTRY** for the user named 'root' from one pair of files to the other.
OR
just delete the '!' second argument in etc/passwd so that no password is required - you can set a new password later, once you are jailbroken.
knc1 is offline   Reply With Quote