These are instructions on how to change the root password on your jailbroken iPhone or iPod touch. This password is required when using SSH to connect to your device.
It is of importance more so now, because of the vulnerability of the default password to worm attacks.
Step 1:
Make sure you have Mobile Terminal installed on your device. It is available in Cydia.
Launch Mobile Terminal from your springboard.
Step 2:
Type su into the terminal window then press the return key.
Step 3:
You will be asked to input the current root user password. Input alpine then press the return key.
Step 4:
Once you have logged in as the root user input passwd into the terminal window then press the return key.
Step 5:
You will be prompted for new password. Input a password of your choice then press the return key.
Step 6:
You will be asked to retype the new password. Do this, then press the return key to finalize your change.
dONE !!
