SSH pass changed.

Discussion in 'iOS Jailbreak & Cydia' started by baitz4, Apr 19, 2009.

  1. baitz4

    baitz4 New Member

    Joined:
    Feb 11, 2009
    Messages:
    13
    Likes Received:
    0
    Device:
    2G iPod touch
    Ok ive tried everything. I was able to ssh into my ipod few weeks ago with no problem. Now everytime i try it says access denied. I put in root and i type alpine for the pass. I think someone may have changed my pass. Also few days ago on an RV trip, we were at a RV camp and and on my ipod it gave me the prompt to allow access to it??? any help would be apprieciated. Mostly some ideas on how to change the pass back.
  2. fear_2670

    fear_2670 Banned

    Joined:
    Aug 17, 2008
    Messages:
    3,626
    Likes Received:
    0
    I doubt it's changed cause to change it you need terminal and follow a bunch of steps, try reinstalling.
  3. JayTraceur

    JayTraceur New Member

    Joined:
    Feb 28, 2009
    Messages:
    708
    Likes Received:
    0
    Device:
    2G iPod touch
    Don't tell me you actually allowed access?
  4. Ezekeel

    Ezekeel New Member

    Joined:
    Mar 15, 2009
    Messages:
    771
    Likes Received:
    0
    Device:
    iPhone 3GS (Black)
    Install MobileFinder, MobileTerminal and nano from Cydia, start MobileFinder, select 'Settings' and switch everything to 'On', goto /etc, select the file master.passwd, select 'Modify', for 'Everyone' select 'Read' and 'Write', close MobileFinder, open MobileTerminal, then
    Code:
    nano /etc/master.passwd
    There is a line
    Code:
    root:xxxxxxxxxxxxx:0:0::0:0:System Administrator:/var/root:/bin/sh
    where xxxxxxxxxxxxx is some string. Delete xxxxxxxxxxxxx and replace it with
    Code:
    abTsxgYzETO4E
    Close nano and save the the file with Ctrl+X (Ctrl is lower-right swipe).

    Your password should be changed back to alpine. Try to login as root and if this works CHANGE THE GODDAMN PASSWORD.

    EDIT: There is also a text editor with a GUI in Cydia, gtxtedit or something like that. If you have problems with terminal and nano use that to edit the master.passwd file.
  5. baitz4

    baitz4 New Member

    Joined:
    Feb 11, 2009
    Messages:
    13
    Likes Received:
    0
    Device:
    2G iPod touch
    i didnt it just kept asking and i denied it.
    ------------------double post merged------------------
    how the hell do you edit it i click on and everything but it wont let me edit it.

    NVM i got to edit. 2 ? tho. is there a space between E and :? how do u close nano and save?
    I did what u said but the pass didnt change at all.
  6. mcpetrolhead

    mcpetrolhead Member

    Joined:
    Jul 20, 2008
    Messages:
    136
    Likes Received:
    0
    Device:
    iPod touch
    If thats the case:

    Go into terminal and type
    Code:
    su
    When it asks for the password type in
    Code:
    alpine
    If it doesnt work then your password has changed but if it does work it hasnt changed, if thats the case then type
    Code:
    passwd
    and put in your new passord you want for root.
  7. baitz4

    baitz4 New Member

    Joined:
    Feb 11, 2009
    Messages:
    13
    Likes Received:
    0
    Device:
    2G iPod touch
    Yes!

    ok ok i did it. Thanks a bunch!
  8. JayTraceur

    JayTraceur New Member

    Joined:
    Feb 28, 2009
    Messages:
    708
    Likes Received:
    0
    Device:
    2G iPod touch
    Just make sure to change the password now LOL.
  9. mcpetrolhead

    mcpetrolhead Member

    Joined:
    Jul 20, 2008
    Messages:
    136
    Likes Received:
    0
    Device:
    iPod touch
    how did you fix it?
  10. Ezekeel

    Ezekeel New Member

    Joined:
    Mar 15, 2009
    Messages:
    771
    Likes Received:
    0
    Device:
    iPhone 3GS (Black)
    Since I linked this post in my sig and someone might look it up, a much easier solution is to use gTxtEdit from the start. You will not need MobileFinder, MobileTerminal and nano and the handling of the gTxtEdit is much more user-friendly than the terminal/nano controls. The only thing you need to do is open the file '/etc/master.passwd' and make the modifications as described above, then save it and you are done.

Share This Page