Jump to content

Welcome to AppCake Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!

How to change the root password on your jailbroken iPhone or iPad in iOS 8

  • This topic is locked This topic is locked
1 reply to this topic



    Like the wind!

  • IC Trusted User
  • 718 posts
    • Time Online: 14d 5h 49m 18s
  • LocationUk
  • iDevices Owned:iPod Touch 4, iPhone 3GS, iPhone 4S, iPad 4, iPad Air, iPad Air 2, MacBook Pro, iHave a PC

If you’ve jailbroken your iPhone or iPad then it is recommended to change the default root password to prevent someone with malicious intent from gaining access to your device.


By default, every iPhone or iPad’s root password is ‘alpine’ and if you want to keep your device more secure, it is essential that the first thing you do after jailbreaking your device is to change your root password to something unique.

If you’re a long time jailbreak user, you will remember a terminal package known as MobileTerminal which allows you to execute commands on your jailbroken iPhone or iPad. Unfortunately, the package hasn’t been updated to support iOS 8 yet.

However, there is another free alternative to MobileTerminal known as MTerminal by developer lordscotland which is a stripped-down, lightweight MobileTerminal that comes with iOS 8 support and supports gestures to make your life easier.

The gesture actions include arrow and control keys, insert/delete, Esc/Tab, fullscreen mode, paste and more.

How to change the root password:

Step 1: Install Mobile Terminal

  • Launch Cydia
  • Tap on the Search tab
  • Search for MTerminal
  • Tap on MTerminal from the search results
  • Tap on Install, followed by Confirm to install MTerminal on your device.
Change root password
  • Launch the MTerminal app from the Home screen.
  • Type su root at the prompt and tap on the return key.
  • You will be prompted to enter the password, enter alpine and tap the return key.
  • Type passwd 
  • You will be prompted to enter the new password, enter a new password and tap the return key.
  • You will be prompted to re-enter the new password, enter the new password again and tap the return key. (Note that your keypresses will not be displayed on the terminal screen for security reasons)
Change mobile user password

You should also change the password of the mobile user, which is the regular user account on your device.

  • Enter passwd mobile and tap on the return key.
  • You will be prompted to enter the new password. Enter alpine, and tap on the return key to continue.
  • You will be prompted to re-enter the new password, enter alpine again and tap the return key.

Once done, your old root and mobile user passwords should now be changed to the new password you just set.

You can also change the password via OpenSSH, but I prefer this method as you don’t need a computer.

MTerminal is a great way of executing commands on your jailbroken iOS 8 device. If you’d like to give it a try, it is available for free on Cydia’s BigBoss repo.

  • hotsjf and Croxley2013 like this




  • IC Respected Member
  • 2,405 posts
    • Time Online: 36d 5h 9m 30s
  • Twitter:cosmicaln1nja
  • Locationthe UK
  • iDevices Owned:iPod Classic, iPhone SE, iPad Mini, iPad 4, MacBook Pro
  • Most used iOS:iOS 8

wow i'm surprised this has never been covered before.


When i first used MobileTerminal though i was over awed about what to type...type?! you mean you can't click an icon? lol


For that reason i didn't change my passwd for a long time, however it's not the biggest issue.


I have learned since that for someone to hijack your jailbroken device then they need all the software installed and then sniff whats on the local network. After that they need to SSH from their device onto a root of a 192. address or whatever the addresses are. From there they can do the damage.


Always remember, your phone is only at risk from people on the local network. It cannot be hijacked over the Internet.

  • r3tribut10n likes this