Tutorials Navigation

Tutorials :: New :: Popular :: Top Rated

Tutorials: 18,326 Categories: 12

Total Tutorial Views: 41,446,624

How To Change Your SSH Root Password

Tutorial Name: How To Change Your SSH Root Password  

Category: PC Tutorials

Submitted By: Mountaineers

Date Added:

Comments: 0

Views: 1,723

Related Forum: PC Building Forum

Share:

Since the root password dottie is now very public knowledge, its a security hazard to be walking around with SSH enabled on your iPhone, roaming around on public WiFi networks. You should change your root password once youve got the basics installed.

Visit this site to get your new root password encryptedhttp://iphone.simbunch.com/crypt.php
Make a backup of your original master password. In Mac Terminal, type:
ssh -l root 10.0.1.4[password "dottie"]cp /etc/master.passwd /etc/master.passwd.bakexit
Optional: While youre in there, consider changing your default shell to bash from sh which will do a better job of honoring the changes to your .profile and other nice things. See this tutorial on the iPhoneDevWiki to change your default shell.
Copy the contents of the result of the password form on the above page into a new blank text file. Save it to your local drive at ~/phonedmg/etc/master.passwd
Upload it your iPhone. In Mac Terminal type:
cd ~/phonedmg/etc scp master.passwd root @ 10.0.1.4:/etc/master.passwd [password "dottie"]
Restart your iPhone
In Mac Terminal, test the new password:
ssh -l root 10.0.1.4
Enter your new password at prompt

Ratings

Current rating: 10.00 by 2 users
Please take one second and rate this tutorial...

Not a Chance
1
2
3
4
5
6
7
8
9
10
Absolutely

Comments

"How To Change Your SSH Root Password" :: Login/Create an Account :: 0 comments

If you would like to post a comment please signin to your account or register for an account.