+ Reply
Results 1 to 9 of 9
  1. #1
    What's Jailbreak?
    Join Date
    Jun 2007
    Location
    OC
    Posts
    21
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default change root password

    so i installed the bsd subsystem and open ssh and been having tons of fun with it, customized ringtones and such. but im alittle concerned about leaving sshd up with a default root password. is there a way to change it and if so will it mess anything up?

  2. #2
    iPhone? More like MyPhone nhba74's Avatar
    Join Date
    Sep 2007
    Location
    California
    Posts
    121
    Thanks
    27
    Thanked 19 Times in 16 Posts

    Default Have you installed Services?

    Have you installed Services? If you haven't, I'd advice that you install that also. Services lets you turn on/off services like Edge, Wifi, Bluetooth, and of course, SSH.

    But if you like, there show be a post/thread about changing the password.....I did it once but forgot how since I've updated my firmware from 1.1.1 to 1.1.3.

    Hope this helps.
    Don't be shy, it's ok to hit that THANKS button.

  3. #3
    What's Jailbreak?
    Join Date
    Jun 2007
    Location
    OC
    Posts
    21
    Thanks
    7
    Thanked 1 Time in 1 Post
    services didn't work for me, when i turned one off it would be on again when i open services app

  4. #4
    iPhoneaholic jakecigar's Avatar
    Join Date
    Aug 2007
    Location
    San Francisco, CA
    Posts
    476
    Thanks
    24
    Thanked 112 Times in 94 Posts

    BSD can't change the password(on 1.1.3+) ... but Cydia has a passwd command that does work!

    my pass is no longer alpine!
    Last edited by jakecigar; 03-07-2008 at 11:37 AM.
    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
    What's Jailbreak?
    Join Date
    Jun 2007
    Location
    OC
    Posts
    21
    Thanks
    7
    Thanked 1 Time in 1 Post
    i tried the BSD passwd command and it seemed to work just fine

  6. #6
    iPhoneaholic jakecigar's Avatar
    Join Date
    Aug 2007
    Location
    San Francisco, CA
    Posts
    476
    Thanks
    24
    Thanked 112 Times in 94 Posts

    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. #7
    What's Jailbreak?
    Join Date
    Jun 2007
    Location
    OC
    Posts
    21
    Thanks
    7
    Thanked 1 Time in 1 Post
    woh you are right. i can't loginto the terminal anymore on the iphone
    installing cydia and using its passwrd utility is the way to go

  8. #8
    My iPhone is a Part of Me zinjen's Avatar
    Join Date
    Sep 2007
    Location
    Scottsdale, AZ
    Posts
    903
    Thanks
    116
    Thanked 233 Times in 133 Posts

    stop flaming posts.. bump

  9. #9
    iPhoneaholic jakecigar's Avatar
    Join Date
    Aug 2007
    Location
    San Francisco, CA
    Posts
    476
    Thanks
    24
    Thanked 112 Times in 94 Posts

    You are very welcome!
    I think you will have to do some cleaning up undo your damage! my /etc/passwd (and yours should be)

    #
    # 4.3BSD-compatable User Database
    #
    # Note that this file is not consulted for login.
    # It only exisits for compatability with 4.3BSD utilities.
    #
    # This file is automatically re-written by various system utilities.
    # Do not edit this file. Changes will be lost.
    #
    nobody:*:-2:-2:Unprivileged User:/var/empty:/usr/bin/false
    root:*:0:0:System Administrator:/var/root:/bin/sh
    mobile:*:501:501:Mobile User:/var/mobile:/bin/sh
    daemon:*:1:1:System Services:/var/root:/usr/bin/false
    unknown:*:99:99:Unknown User:/var/empty:/usr/bin/false
    _securityd:*:64:64:securityd:/var/empty:/usr/bin/false
    http://jpassoc.com/x -- with free itunes under the puppy!
    If I help you out, please press THANKS!

    3g QuickPWN'ed with 2.1

Posting Permissions

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