Changing your root password in 1.1.3?

Discussion in 'Jailbreaks and iOS Hacks' started by bbplayer5, Feb 13, 2008.

  1. bbplayer5 macrumors 68030

    Joined:
    Apr 13, 2007
  2. GroovyLinuxGuy macrumors regular

    GroovyLinuxGuy

    Joined:
    Apr 2, 2006
    Location:
    Canada
    #2
    I am making the assumption that you have jailbroken it and have ssh installed. If that is the case

    login and type

    passwd

    now you will be prompted to change it.
     
  3. jeffmc macrumors 6502

    Joined:
    Sep 21, 2007
    #3
    NO
    passwd is not 100%
    it will cause summerboard to crash continuously

    DO NOT TYPE passwd!
     
  4. bbplayer5 thread starter macrumors 68030

    Joined:
    Apr 13, 2007
  5. Nde macrumors 6502a

    Nde

    Joined:
    Feb 12, 2008
    Location:
    Los Angeles, CA
    #5
    Hmm, I'm new to iphone. I didn't change the password but I installed service.app and from there, I turn off SSH. Don't know if that is any safer, if you thats what you are looking for.
     
  6. jeffmc macrumors 6502

    Joined:
    Sep 21, 2007
    #6
    this is what i do personally, i'm not sure of any other alternative to changing it

    but if the service if off, it's even safer
     
  7. Kelly™ macrumors regular

    Joined:
    Jan 4, 2008
    #7
    I just user Services.app to kill SSH.
    Turn it on when you need it and back off when your done.
    Then your safe.
     
  8. GroovyLinuxGuy macrumors regular

    GroovyLinuxGuy

    Joined:
    Apr 2, 2006
    Location:
    Canada
    #8
    Umm...i did it on mine...everything works just fine.
     
  9. Sedulous macrumors 68000

    Sedulous

    Joined:
    Dec 10, 2002
    #9
    Well, there is a "risky" way to change the root (or the mobile) password:

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

    Where MYPASSWORD is the new password you want, and XU is a random two-letter salt of your choice. Copy the encrypted output and replace the existing one in /etc/master.passwd on the phone.

    For example, if you put alpine (in place of MYPASSWORD) and /s (in place of XU) you should get /smx7MYTQIi2M. Try it out to get a feel for it, then pop in your own choice of password and two character "salt".

    I can't remember where I found the basis for these instructions, but I've used them and they work.
     
  10. bbplayer5 thread starter macrumors 68030

    Joined:
    Apr 13, 2007
  11. Sedulous macrumors 68000

    Sedulous

    Joined:
    Dec 10, 2002
    #11
    It is not all that difficult. Just if you mess up, it can be tragic. Go with what you feel you can handle.
     

Share This Page