1. Erix18's Avatar
    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 How do you change the password for ssh?-untitled-1-copy.png  
    Last edited by Erix18; 2007-08-07 at 06:12 AM.
    2007-08-07 03:54 AM
  2. win1fight2's Avatar
    bump.
    I've got the same problem. Not sure where to go next. Help please.
    Thanx
    2007-08-08 02:44 AM
  3. Kyle Matthews's Avatar
    I don't believe you can...
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews
    2007-08-08 02:45 AM
  4. CyberGreg's Avatar
    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:
    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; 2007-08-08 at 05:45 AM.
    2007-08-08 05:42 AM
  5. Erix18's Avatar
    so could i run this inside the iphone terminal I tried it and it didnt work?
    2007-08-08 08:46 AM
  6. p9939068's Avatar
    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
    2007-08-08 12:44 PM
  7. CyberGreg's Avatar
    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.

    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; 2007-08-09 at 03:45 PM. Reason: merge replies
    2007-08-09 03:43 PM
  8. arthursdomain's Avatar
    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.
    2007-08-10 09:41 AM
  9. CyberGreg's Avatar
    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.
    2007-08-10 03:52 PM
  10. cheezy's Avatar
    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.



    2008-08-16 10:54 AM
LINK TO POST COPIED TO CLIPBOARD