Change the iPhone root Password
Changing the iPhone root password is a good idea if you have Jailbroken your iPhone, it will prevent unauthorized users and applications from doing things you certainly don’t want them to do since the password is universal on all Jailbroken phones (unless it’s changed by the user). And yes in case it was not abundantly clear, you can not change the root password on an iPhone or iPad that has not been jailbroken as the user is not accessible, neither is the command line like this.
So with that in mind, here’s how to change the root password on your Jailbroken iPhone:
- First you have to have the app called MobileTerminal, it’s available free at the Cydia app store
- Launch MobileTerminal and at the prompt type the following: passwd
- When asked for the old password, type: alpine
- You’ll then be prompted for a new password, so type your new password, it will ask for a confirmation so type it again
- That’s it! The root password on your Jailbroken iPhone is changed and you’ll be sent back to the command prompt.
Change the root user & mobile user password
You will want to change the password for the ‘root’ user as well as the default mobile user, doing this is easy:
- Login to the root account by typing: login root
- Enter this as the password: alpine
- Now type passwd and follow the same instructions as above
Note: this is not necessary for standard iPhone users, only Jailbroken iPhones.