Changing the root password on a jailbroken iPhone



November 8th, 2009

This is a cached copy from cydia.saurik.com/password.html

0: Install MobileTerminal Package

Mobileterminal

1: Run MobileTerminal

This program will be on your SpringBoard are called "Terminal".

2: Obtain Administrator Access

Run "su root" and provide the root password. The default password as provided by Apple is "alpine".


Here I also run "cd" only to shorten the otherwise very long prompt.

iPhone:~ mobile$ su root
Password:
iPhone:/var/mobile root# cd
iPhone:~ root#

3: Change the root Password

Run "passwd" and type in your new password twice. Please note that your keypresses will not be displayed on the terminal screen (for security).

iPhone:~ root# passwd
Changing password for root.
New password:
Retype new password:
iPhone:~ root#

4: Change the mobile Password

This is the regular user account on the device. Run "passwd mobile" and repeat as directed above.

iPhone:~ root# passwd mobile
Changing password for mobile.
New password:
Retype new password:
iPhone:~ root#

5: Close MobileTerminal

Congratulations! Your job is done!

This entry was posted on Sunday, November 8th, 2009 at 22:33 and is filed under Stay Safe!. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.