November 12, 2009

How To Change the iPhone’s Root Password

If you have Jailbreak & Unlock your iPhone or iPod Touch you have a big security issue on the device. This haven't been revealed until a Dutch hacker gain access to an iPhone when it is jailbroken using the SSH service. No harm was done in the action and the users have to pay 5 euro's to get the instructions to remove the message that appears on their device. But later he cahnged his mind and setup a website to provide the instructions free for hacked users. On these days there is a worm called RickRoll pretty much doing the same thing. So, the best thing to do is change the default Root Passwords for your iPhone or iPod Touch.




Resetting the password is not a big deal. There are two ways to do that.

(1) From the iPhone.

  • We have to download a free app called "MobileTerminal" in order to do this. Search on Cydia for this app. Once you have MobileTerminal installed, launch it by clicking its icon.

  • Type su and hit enter


  • Then enter the old password (the default one is alpine)


  • At that prompt, type passwd


  • You’ll then be prompted to enter the new password. so just type in your desired new password.


  • You’ll then be prompted to re-enter the new password.


  • Once it returned to the prompt tap on the screen and exit from the application.




(2) From a SSH client tool.

  • Download and install a SSH client tool like PuTTY or WinSCP


  • Find your iPhone’s IP address so that you know where you need to connect to. To do this, go to the Settings app > WiFi > tap on the blue arrow to the right-hand side of the WiFi network you’re currently on (the one with a check next to it) > make a note of the IP Address entry listed there.


  • Use the IP address as the host name or server name to connect to. Choose ssh as the connection method, SFTP as the protocol, and 22 as the port number. Use the username root to connect with and alpine as its password


  • Type passwd on the prompt


  • You’ll then be prompted to enter the new password. so just type in your desired new password.


  • You’ll then be prompted to re-enter the new password.


  • Type exit

No comments:

Post a Comment