- iMore Pro
- 718 Posts
Step by Step Guide to changing your root and mobile password on your iPhone
With the new worms that are coming out that are taking advantage of ssh and the default password, alot of people are trying to figure out how to protect themselves and their jailbroken iPhone. There are three ways I know to protect yourself.
1) Do not install openSSH
2) Turn off SSH when you are not using it
3) Change your default password for "root" and "mobile"
This guide will focus on the third option.
The first thing you need to do is download a jailbreak app called MobileTerminal onto your iPhone.
1) Open Cydia and tap "Featured Packages"
2) Scroll down and tap "MobileTerminal"
3) Tap "install" in the upper right hand corner, on the next screen tap "confirm" in the upper right hand corner and let cydia install the app, when done, tap "return to cydia" and then close cydia.
4) Scroll to the MobileTerminal Icon on your springboard and tap it.
5) When MobileTerminal opens it will default to your "mobile" folder.
6) Type "passwd" (without the quotes). You will be prompted to enter your old password. if you have never changed your password, the default password is "alpine" (without the quotes). Once the old password is entered, you will be prompted to enter the new password, and then prompted to enter it again. There will be no response on the screen as you type, for security reasons, so make sure you know what you are typing.
Last edited by shutter; 11-24-2009 at 01:03 PM.
- iMore Pro
- 718 Posts
7) Now that your password for "mobile" is changed, you also want to change the password for your "root" folder as well. Type "su root" (without the quotes), you will be prompted to enter your password (this is still the old/default password "alpine"), enter it.
8) Type "passwd" (without the quotes), since you have already verified your root password...you will be prompted to enter a new password and again prompted to verify the new password. As you type the new password, there will be no response on the screen as you type, for security reasons, so make sure you know what you are typing.
That's it, now you are done, you have successfully changed your root and mobile passwords and if you forget to shut off openSSH....you are not an easy target for hackers.
Last edited by shutter; 11-24-2009 at 01:04 PM.
- 11-24-2009, 01:25 PM #3
- 11-24-2009, 04:02 PM #4
- 11-24-2009, 04:11 PM #5
- 11-24-2009, 04:27 PM #6
- 12-04-2009, 09:37 AM #7
- 12-04-2009, 07:34 PM #8iPhone Nanite
- 4 Posts
Awesome!!! Thanks dude, made a few mistakes at first so my list is a bit longer. Is there a way to clean that list up or does it not matter? I'm a total noob to all this at the moment. But thought I'd change this passwords while it was on my mind since I want to learn SSH.
SSH is just the ability to do more customization to themes correct?
- 12-05-2009, 03:42 PM #9
- 12-05-2009, 04:52 PM #10
- 08-04-2010, 06:31 AM #11
- 08-04-2010, 07:39 AM #12
- 10-17-2010, 06:28 PM #13
Problem...I'm currently using WinSCP to SSH into my phone with the default passwords. I changed my passwords, without a problem, using the above instructions but now when I open WinSCP to get into my phone, it says the password is incorrect. Anyone else use this program that can help?
- 10-18-2010, 01:04 AM #14
- 10-18-2010, 05:39 AM #15
- 10-18-2010, 08:16 AM #16
- 10-18-2010, 08:43 AM #17
- 10-24-2010, 07:16 AM #18
- 02-28-2011, 11:44 PM #19
- 03-01-2011, 12:13 AM #20
- 03-01-2011, 12:16 AM #21
- 03-01-2011, 12:29 AM #22
I feel more secure knowing that my mobile and root passwords have been changed!
Glad to be a member of such a strong, helpful community!
- 03-01-2011, 12:34 AM #23
- 03-01-2011, 12:53 AM #24
- 03-01-2011, 12:58 AM #25