Results 1 to 10 of 10

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: How do you change the password for ssh?

  1. #1
    Default How do you change the password for ssh?
    I get this when trying to change the password? Am i doing it right?
    http://www.modmyi.com/forums/attachm...1&d=1186448043
    Attached Thumbnails Attached Thumbnails -untitled-1-copy.png  
    Last edited by Erix18; 08-06-2007 at 10:12 PM.

  2. #2
    bump.
    I've got the same problem. Not sure where to go next. Help please.
    Thanx

  3. #3
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,486
    Thanks
    570
    Thanked 4,811 Times in 1,230 Posts

    I don't believe you can...
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  4. #4
    Default Change root password
    The error message you received is because the sh shell doesn't know how to run the 'perl' command.

    Here's your encrypted password, based on your screenshot:

    XUgf3qrkZHd0Y

    Note: not sure you should use it now ;-)

    From THIS PAGE, scroll down and you can see this is the procedure to change the password:
    Quote Originally Posted by cybergreg
    Change the root password

    If you don't like 'dottie', you can generate a new encrypted password by running:

    perl -e 'print crypt("MYPASSWORD", "XU");'

    Where MYPASSWORD is the new password you want, and XU is a random two-letter salt. Copy the encrypted output and replace the existing one in /etc/master.passwd on the phone.
    Edit you can run this from any *nix (Linux, Unix, OS X) terminal. I'd guess you can also get it from a Windows DOS prompt, oh wait you call it the command window, right ;-)
    Last edited by CyberGreg; 08-07-2007 at 09:45 PM.

  5. The Following User Says Thank You to CyberGreg For This Useful Post:

    Erix18 (08-08-2007)

  6. #5
    so could i run this inside the iphone terminal I tried it and it didnt work?

  7. #6
    I created a script that easily generates your crypted password with simple step-by-step on how you can change the master.passwd file yourself. Go to http://iphone.simbunch.com and click on the "Changing root password" link

  8. The Following 2 Users Say Thank You to p9939068 For This Useful Post:

    brand1130 (11-07-2007), Erix18 (08-12-2007)

  9. #7
    Quote Originally Posted by Erix18 View Post
    so could i run this inside the iphone terminal I tried it and it didnt work?
    You would need to get 'perl' installed and running, then you could run the command in the terminal on your iPhone. I don't see 'perl' in the iPhone bin-kit so I guess the answer is not yet.

    Quote Originally Posted by p9939068 View Post
    I created a script that easily generates your crypted password with simple step-by-step on how you can change the master.passwd file yourself. Go to http://iphone.simbunch.com and click on the "Changing root password" link
    While your page is friggin' awesome, I just have a problem using the Internet to create a script for the root account of my iPhone. Maybe if your site was: https://iphone.simbunch.com/
    Last edited by CyberGreg; 08-09-2007 at 07:45 AM. Reason: merge replies

  10. #8
    I just want to warn everybody so that you dont make the same mistake i did.

    I used the generator, and i edited the master.password list thing, so i thought i would be smart and create a new user that way by copying the root and changing its username.

    well that was a big NO NO. it bricked my phone and i had to do a factory restore, restore my mods, then restore from itunes. not fun.
    ARTHURSDOMAIN
    ModMyI.com Apps Reviewer

    Retired ModMyi.com Moderator

    Follow me on twitter: twitter.com/laynem

    Reviewed Apps:
    Oregon Trail, Who Has The Biggest Brain, Lock Puzzle, Tweetie

    Want an app reviewed? PM me with the app name

  11. #9
    Dude that sux! Glad you're back up and running.

    With all this unix stuff there are indeed 'correct' ways of doing things and then there are 'incorrect'. I'll note that under 'incorrect'

    I'll look around, I'm pretty sure I've read something about that.

  12. #10
    The code generator works, it changes your password. But there is no way to use it, once you edit your master.password file the iPod freezes. Only way i got mine to unfreeze was to replace the original password file.




Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •