Results 1 to 8 of 8

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


Thread: CANT change my SSH root password

  1. #1
    Default CANT change my SSH root password
    Im having a problem with SSH in 2.0

    So i installed openSSH from cydia, works great.
    I use root/alpine

    I wanted to change my password so i downloaded mobile terminal from cydia
    I also made sure to download "system-cmds" from cydia for the passwd feature

    So i went into terminal on my phone and typed passwd
    it asked for my old then i entered my new

    Everything looked great so i tested it using cyberduck
    I used root/alpine, and I STILL GOT IN!
    Why didnt it change my password?

    I also tried doing "passwd mobile" and it seems that was the same as doing just passwd.

    I tried "passwd root", but it says permission denied.

    can anyone help?

  2. #2
    mobile terminal logs you in as mobile.

    mobile does not have the right to change root's password.

    log in as root!

    good luck!
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  3. #3
    thanks for your reply!

    But how do i log in as root?
    Do you mean through my computer with cyberduck?

  4. #4
    you can use terminal in the utilities folder on os x!

    or you can type login root in mobile terminal

    don't use cyberduck for password changing.
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  5. #5
    thanks finally got it!

    one last thing, do you know the command to shut ssh off and on in mobile terminal?

  6. #6
    you don't have to quit ssh. when all connections are gone , it goes away!

    don't forget to press those thanks buttons!
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

  7. The Following 3 Users Say Thank You to jakecigar For This Useful Post:

    ecwashere (2008-08-09), jankdalock (2008-07-22), okaybn (2008-07-21)

  8. #7

  9. #8
    Default Changed root password, now cannot access phone.
    I have iphone 3G, firmware 2.2.

    So this is what I have done so far:

    - Installed openSSH to phone
    - Used WinSCP to access phone on a Windows XP machine
    - I used the "openssl passwd -crypt -salt /s alpine" command in Unix to find out the encryption of my own password, then replaced "alpine" with my own in line "root:/smx7MYTQIi2M:0:0::0:0:System Administrator:/var/root:/bin/sh" only to file "/etc/master.passwd".
    - I uploaded the new master.passwd file back to the /etc folder then disconnected WinSCP.

    When I tried to reconnect in WinSCP with my new password, access was denied.

    When I tried to use MobileTerminal to get into my phone, I get the following message:
    login: /bin/sh\r: No such file or directory

    I am not able to do anything else in MobileTerminal from this point on.


    Please help? What should I do now?

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