View Single Post
Old 07-29-2015, 07:48 PM   #14
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 verbatrium View Post
hi,

got root access to my PW3, but when ii get to here....

"Now you need to edit the root password for the main login
Quote:
vi /tmp/main/etc/passwd
On the first line there should be

Quote:
root:!:0:0:root:/:/bin/sh
delete the ! and save"


i get this....

root:x:0:0:root:/tmp/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:100:sync:/bin:/bin/sync
operator:x:37:37:Operator:/var:/bin/sh
sshd:x:103:99:Operator:/var:/bin/sh
messagebus:x:92:92:messagebus:/bin/false
nobody:x:99:99:nobody:/tmp:/bin/sh
default:x:1000:1000efault non-root user:/dev/null:/bin/sh
framework:x:9000:150:Framework User:/tmp/framework:/bin/sh


can i get some help please
So now delete the 'x' - that means: "Look in the shadow file".
You want:
root::0:0:root:/tmp/root:/bin/sh

The empty field means "no password required" (just press the enter key).

The 'x' will come back when you run passwd to set a password for user 'root' -
The HowTo does not mention that is optional.

You can do the jailbreak without setting a password for root.
Just be sure that no one is wire tapping your serial cable.

AND

If/When you install USBnetworking - then you will want to set a password for 'root'.
knc1 is offline   Reply With Quote