Page 1 of 2 12 LastLast
Results 1 to 20 of 24

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


Thread: Changing the ssh root password , simplified.

  1. #1
    Default Changing the ssh root password , simplified.
    Changing the ssh root password , simplified.

    1 - Unzip the attached file and put it in /bin on your phone.

    2 - chmod +x /bin/*

    3 - type passwd at prompt and enter new password.

    Not sure who compiled this but Thanks !
    Attached Files Attached Files

  2. The Following 2 Users Say Thank You to r00t4rd3d For This Useful Post:

    antiflash (2007-08-10), schind (2007-08-10)

  3. #2
    iPhone? More like MyPhone antiflash's Avatar
    Join Date
    Jul 2007
    Location
    Ventura County, CA
    Posts
    266
    Thanks
    10
    Thanked 18 Times in 16 Posts

    Quote Originally Posted by r00t4rd3d View Post
    Changing the ssh root password , simplified.

    1 - Unzip the attached file and put it in /bin on your phone.

    2 - chmod +x /bin/*

    3 - type passwd at prompt and enter new password.

    Not sure who compiled this but Thanks !
    nice...thanks for the quick'n'easy tut
    Black 16GB 3G iPhone w/bestskinever
    Q6600, 3GB RAM, Vista Ultimate Desktop Box
    2 Hands, 10 Fingers, etc
    Temporary Eee PC Portable

  4. #3
    would be nice to have the source supplied for a password app like this.

  5. #4
    If for some reason you don't trust the passwd file you can use this simple method too.

    http://iphone.simbunch.com/crypt.php

  6. The Following User Says Thank You to r00t4rd3d For This Useful Post:

    stefman (2007-10-04)

  7. #5
    thanks a lot for posting this, i tried to manually doing it and had to restore

    but this worked great! thanks SO MUCH

    -tehmacuser

  8. #6
    Well the password file just locked me out. My password does not work. Will now have to hack master pass file

  9. #7
    so, what is the best way to change the password on mine??

    Im scared of having someone go into my phone and DELETE EVERYTHING!!! AHHH!!

    I dont want to lock mine up, because i cannot "hack" the master pass file, and i dont want to restore cause my iphone is very, very pretty

  10. #8
    Quote Originally Posted by r00t4rd3d View Post
    If for some reason you don't trust the passwd file you can use this simple method too.

    http://iphone.simbunch.com/crypt.php
    Thanks, this method worked like a charm!

  11. #9
    Or just use the app "Services" to switch off ssh when you go outside. Saves batterie too.

  12. #10
    What's Jailbreak?
    Join Date
    Sep 2007
    Location
    Philippines
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    i agree - i use services.app too

  13. #11
    why don't you guys just use iNdependence to change? Takes only 2 sec

  14. #12
    Quote Originally Posted by r00t4rd3d View Post
    If for some reason you don't trust the passwd file you can use this simple method too.

    http://iphone.simbunch.com/crypt.php
    nvm
    Last edited by spressa; 2007-10-05 at 07:33 AM.

  15. #13
    I changed my SSH password by http://iphone.simbunch.com/crypt.php, but it didn't work.
    I tried to logon with the new password -> access denied.
    So, I reverted my original master.passwd.
    How i can change it? Should i restart iPhone or turn off and turn on SSH again?
    Is "passwd method" works?

    Why is password generated for the "alpine" keyword (XUma211xAzIJE) by the http://iphone.simbunch.com/crypt.php differ from the default from the "smx7MYTQIi2M"?

    --- Original ---
    nobody:*:-2:-2::0:0:Unprivileged User:/var/empty:/usr/bin/false
    root:/smx7MYTQIi2M:0:0::0:0:System Administrator:/var/root:/bin/sh
    mobile:/smx7MYTQIi2M:501:0::0:0:Mobile User:/var/mobile:/bin/sh
    daemon:*:1:1::0:0:System Services:/var/root:/usr/bin/false
    unknown:*:99:99::0:0:Unknown User:/var/empty:/usr/bin/false
    ---
    --- Generated by the http://iphone.simbunch.com/crypt.php ---
    nobody:*:-2:-2::0:0:Unprivileged User:/var/empty:/usr/bin/false
    root:XUTtOMnzKr22o:0:0::0:0:System Administrator:/var/root:/bin/sh
    mobile:/smx7MYTQIi2M:501:0::0:0:Mobile User:/var/mobile:/bin/sh
    daemon:*:1:1::0:0:System Services:/var/root:XUU7aqfpey51o
    unknown:*:99:99::0:0:Unknown User:/var/empty:/usr/bin/false
    ---

    Should i change password for the "daemon" user too (as you can see it has changed)?
    Last edited by l0id; 2007-11-08 at 05:22 PM. Reason: Automerged Doublepost

  16. #14
    Why not just change it in Terminal?

    CoilSquared:Library Sparky$ ssh -l root 192.168.1.101
    [email protected]'s password:
    Last login: Thu Nov 8 09:31:04 2007 from 192.168.1.100
    # passwd
    Changing password for root.
    New password:
    Retype new password:
    #

  17. The Following 2 Users Say Thank You to Digital Oxygen For This Useful Post:

    Jodiedicie (2007-11-29), rotaryheadrx7 (2008-05-06)

  18. #15
    Quote Originally Posted by Digital Oxygen View Post
    Why not just change it in Terminal?

    CoilSquared:Library Sparky$ ssh -l root 192.168.1.101
    [email protected]'s password:
    Last login: Thu Nov 8 09:31:04 2007 from 192.168.1.100
    # passwd
    Changing password for root.
    New password:
    Retype new password:
    #

    Thats how I changed mine when I was on 1.02 and it worked fine. I have not reset it yet after upgrading to 1.2

  19. #16
    does this work on the 1.1.4 firmware?

  20. #17
    Livin the iPhone Life Eurisko's Avatar
    Join Date
    Aug 2007
    Location
    Toronto, Canada
    Posts
    3,307
    Thanks
    12
    Thanked 562 Times in 483 Posts

    Quote Originally Posted by Digital Oxygen View Post
    Why not just change it in Terminal?

    CoilSquared:Library Sparky$ ssh -l root 192.168.1.101
    [email protected]'s password:
    Last login: Thu Nov 8 09:31:04 2007 from 192.168.1.100
    # passwd
    Changing password for root.
    New password:
    Retype new password:
    #
    Have you done this on 1.1.3 or 1.1.4? You'll find your Springboard continuously restarting.

    Don't try this at home folks. It doesn't work.
    Last edited by Eurisko; 2008-03-08 at 02:28 AM. Reason: Automerged Doublepost
    Get "iPod & iTunes for Dummies", it'll change your life.

  21. The Following User Says Thank You to Eurisko For This Useful Post:

    rotaryheadrx7 (2008-05-06)

  22. #18
    I am in the same boat after changing root password in 1.1.4 and also ziphone and itunes won't find it.

    it boots, gives a popup "Edit Home Screen" then I get the spinning circle and a quick home screen reboot.

    I can still ssh into it but don't know what to do (tried a chown -r root * at /)

    I changed back to default and still the same.

  23. #19
    I was able to fix that by installed the cydia package manager and using the passwd program it comes with.

    Oh and it if doesnt let you log in via the terminal you should be able to with ssh from another computer

  24. #20
    actually ssh no longer works either, the reboot cycle is too quick and wifi never connects. it boots, i get the home screen with the Edit homescreen popup then the spinning center circle in about 5 seconds - then it all repeats.

    even a powerdown is tricky now, I have to make sure i can do it before the next spinning circle cycle.

    I've tried connecting via a usb and firewire ipod connector (yes I have the firewire dock connector ) and it no luck having ziphone or itunes seeing it - though with the firewire it at least gives the charging chime.




    grrrr .... my sim is now in my backup phone.

Page 1 of 2 12 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •