http://www.iphonefaq.org/archives/97721
Jailbreakers everywhere should be aware that the default root password from Apple is "alpine" and presents a security threat if SSH is installed. SSH can be uninstalled or switched off when not in use, however changing the password once will solve the problem.
To change your root password and help prevent unauthorized access to your iPhone:
1. Connect to your iPhone using SSH on your computer.
2. Type 'passwd' without the quotes at the command prompt and press return.
3. Enter your desired new password. You won't see the characters. Press return and the iPhone will prompt you to retype the new password. Enter the new password again.
4. Use this new password for future SSH connections.
2. Type 'passwd' without the quotes at the command prompt and press return.
3. Enter your desired new password. You won't see the characters. Press return and the iPhone will prompt you to retype the new password. Enter the new password again.
4. Use this new password for future SSH connections.
Older instructions follow. These currently (as of iOS 4.3.3) don't work since the MobileTerminal package has not been updated for iPhones running newer firmware. Users have reported that the app simply crashes when opened.
1. Install the MobileTerminal package using Cydia.
2. Run the Terminal app.
3. Type "su root" without the quotes and touch return.
4. Type the root password "alpine" and touch return.
5. You are now logged in as root. Type "passwd" and touch return.
6. Enter your desired new password. You won't see the characters. Touch return and the iPhone will prompt you to retype the new password. Enter the new password again.
7. Type "exit" and touch return.
2. Run the Terminal app.
3. Type "su root" without the quotes and touch return.
4. Type the root password "alpine" and touch return.
5. You are now logged in as root. Type "passwd" and touch return.
6. Enter your desired new password. You won't see the characters. Touch return and the iPhone will prompt you to retype the new password. Enter the new password again.
7. Type "exit" and touch return.
After you change your root password you should consider changing the password for the user "mobile" as well. This will further protect your data.
1. Run the Terminal app. You are now logged in as mobile.
2. Type "passwd" and touch return.
3. Type the mobile password "alpine" and touch return.
4. Enter your desired new password. You won't see the characters. Touch return and the iPhone will prompt you to retype the new password. Enter the new password again.
2. Type "passwd" and touch return.
3. Type the mobile password "alpine" and touch return.
4. Enter your desired new password. You won't see the characters. Touch return and the iPhone will prompt you to retype the new password. Enter the new password again.
Users who do not have jailbroken iPhones don't need to worry about changing the default root password on their devices. SSH is not installed and there's no terminal application to change the password.
Comments
Post a Comment