+ Reply
Page 1 of 2 12 LastLast
Results 1 to 20 of 24
  1. #1
    iPhoned Home
    Join Date
    Jul 2007
    Location
    Internet
    Posts
    300
    Thanks
    1
    Thanked 54 Times in 36 Posts

    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 (08-09-2007), schind (08-09-2007)

  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
    What's Jailbreak? pack's Avatar
    Join Date
    Jul 2007
    Posts
    13
    Thanks
    0
    Thanked 2 Times in 2 Posts

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

  5. #4
    iPhoned Home
    Join Date
    Jul 2007
    Location
    Internet
    Posts
    300
    Thanks
    1
    Thanked 54 Times in 36 Posts

    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 (10-04-2007)

  7. #5
    Green Apple
    Join Date
    Jun 2007
    Location
    a place
    Posts
    34
    Thanks
    1
    Thanked 5 Times in 4 Posts

    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
    What's Jailbreak?
    Join Date
    Aug 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

  9. #7
    Green Apple
    Join Date
    Sep 2007
    Posts
    38
    Thanks
    1
    Thanked 4 Times in 4 Posts

    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
    iPhone? More like MyPhone
    Join Date
    Sep 2007
    Posts
    112
    Thanks
    8
    Thanked 5 Times in 5 Posts

    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
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    23
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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
    iPhone? More like MyPhone
    Join Date
    Sep 2007
    Posts
    162
    Thanks
    25
    Thanked 13 Times in 11 Posts

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

  14. #12
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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; 10-04-2007 at 11:33 PM.

  15. #13
    What's Jailbreak?
    Join Date
    Nov 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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; 11-08-2007 at 09:22 AM. Reason: Automerged Doublepost

  16. #14
    My iPhone is a Part of Me Digital Oxygen's Avatar
    Join Date
    Sep 2007
    Posts
    525
    Thanks
    0
    Thanked 29 Times in 27 Posts

    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 (11-28-2007), rotaryheadrx7 (05-06-2008)

  18. #15
    Green Apple
    Join Date
    Sep 2007
    Location
    Dallas, Tx
    Posts
    60
    Thanks
    2
    Thanked 1 Time in 1 Post
    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
    What's Jailbreak?
    Join Date
    Jun 2007
    Location
    OC
    Posts
    21
    Thanks
    7
    Thanked 1 Time in 1 Post
    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,308
    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; 03-07-2008 at 06:28 PM. 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 (05-06-2008)

  22. #18
    What's Jailbreak?
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    0
    Thanked 1 Time in 1 Post
    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
    What's Jailbreak?
    Join Date
    Jun 2007
    Location
    OC
    Posts
    21
    Thanks
    7
    Thanked 1 Time in 1 Post
    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
    What's Jailbreak?
    Join Date
    Mar 2008
    Posts
    8
    Thanks
    0
    Thanked 1 Time in 1 Post
    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.

+ Reply
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