How to change Jailbroken iPhone or iPad’s root password


If you’re new to jailbreaking, and have just jailbroken your iOS device using the Pangu jailbreak then it may be a good idea to change the default root password to prevent someone with malicious intent from gaining access to your device.

Update:

If your device is on iOS 8 or higher, then check this guide:

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

 

This is especially important if you’ve installed OpenSSH.

You can follow these simple steps to change the root password on your jailbroken iOS device:

Install Mobile Terminal

  • Launch Cydia
  • Tap on the Search tab
  • Search for MobileTerminal
  • Tap on MobileTerminal from the search results
  • Tap on Install, followed by Confirm to install MobileTerminal on your device.

Change root password

By default password assigned by Apple is alpine.

  • Launch the MobileTerminal app
  • Type su root at the prompt and tap the return key
Mobile Terminal - Password Change
  • Enter alpine and hit the return key.
  • Then type passwd and hit the return key to change the password.
  • You will be prompted to enter the new password twice. Enter it twice when prompted. (Note that your keypresses will not be displayed on the terminal screen for security reasons)

Change mobile password

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

  • Enter passwd mobile and hit the return key.
  • You will be prompted to enter the new password twice. Enter it twice when prompted.

That’s it. You can close the MobileTerminal app.

You can also check out our video tutorial:

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

Update:

If your device is on iOS 8 or higher, then check this guide:

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

Let me know how it goes.

Like this post? Share it!

  • Bradwin Williams

    mobile terminal crashes for me when opening. anyone else have this issue and was able to resolve it ??

    • Awesomeness

      if you are on ios 8, you can go to the pangu app that is installed when you had jailbroken. In the app go to the utility app, then click change under Modify OpenSSH Password, and then enter your new password. It says that this will change the mobile and root accounts to the password you choose. Hope that helps!

  • John Crawford

    It cashes every time I open it. Tried to reinstall still cashes. Any help plz

    • Jumbo wares

      i am facing the same problem it crashes everytime

      • lace

        try mterminal same thing but doesnt crash

        • hottyosn

          iPad 2 iOS 8.1.2 Taig jailbreak.
          Could not use MobileTerminal.
          Used Mterminal as suggested with success!
          Thank you. 🙂

    • lace

      try mterminal in cydia instead i had the same prob

  • Disqus

    biteyourapple repo has “Mobile Terminal (IOS7)” working for 8.1

  • lace

    hey thanksworked well just jailbroke and tweaking my i4s if your mobile terminal is crashing as mine was use another called mterminal its the same thing but doesnt crash.

  • MeMeMe

    MobileTerminal does not work on IOS 8

  • Wanderer

    Mterminal worked fine for me. SYS passwd also works but when you change the password it stops responding (although it works) so you are not pretty sure if it did it or not. Thanks to all the previous comments

  • Zaheer Sayyed

    Hey,
    MobileTerminal and mterminal both won’t work for me. Also pangu didn’t get installed,i used taigbreak for the jailbreak does pangu get installed with this too or do i need to install pangu 1st? if so then any link on how to?
    thanks in advance

  • techfit101

    It doesn’t search for “MobileTerminal” when I try “searching”…why?

  • Newtothegame

    Unable to do this with both mobileterminal and mterminal. Help…I’m lost.

  • Bill Blackden

    phone is rooted I downloaded mobile terminal but every time I open it(to change passwords) it wont open

  • leo

    Use Mterminal, worked for me, iphone 6 plus, 8.1.2 JB
    Can we uninstall Mterminal after pw change?

    • cool, yes its fine to delete/uninstall after pw change 🙂