Friday, December 11, 2009

Change your default SSH password on your iPhone 3G

With the rickroll 'virus' that went around it highlighted the fact that if you've got a jailbroken iphone, it very important you change your default SSH password. Here's how.

Install MobileTerminal from Cydia



Launch MobileTerminal, then run the following command:

su root

you'll then be asked for your password, which by default is alpine

















You're now logged in as root. Now all you need to do to change the password is run the following:

passwd

you'll be asked to enter you old password(alpine), then your new password twice. Once done, your password's changed!!! don't forget your password!!!(although if you do, you'll need to restore your iphone, re-jailbreak it and it'll set back to the default alpine)

No comments: