What happens when you forget your ssh root password?

Discussion in 'Jailbreaks and iOS Hacks' started by dylanmoro, Aug 7, 2010.

  1. dylanmoro macrumors newbie

    Joined:
    Jul 1, 2010
    #1
    Can I change it or get in still?

    EDIT: SOLUTION! For anyone with the same problem... I advise syncing your phone first just in case.
    1.) Download ifile from cydia (there are cracked versions available, use google for source)

    2.) Open ifile on your idevice and navigate all the way back using the top bar till you get to the "/" folder

    3.) Go from "/" to "private" then "etc" and finally scroll down to "master.passwd"

    4.) Open with text viewer and select edit in the top left corner

    5.) On the line that says "root:" delete everything between "root:" and the first ":0"

    6.) Replace that section with "/smx7MYTQIi2M"

    7.) Hit "save" and "done" at the top right

    8.) Your root password has just been reset to alpine, re-change your password like you did before and that's it :) oh and don't forget it again...
     
  2. htownmade1984 macrumors regular

    Joined:
    Aug 5, 2010
    #2
    I would assume you would have to restore your iPhone and rejailbreak all over again.
     

Share This Page