CHANGE your root password after Jailbreak

Discussion in 'iPod touch 1.1.x Jailbreak' started by mchomicz, Oct 13, 2007.

  1. mchomicz

    mchomicz New Member

    Joined:
    Oct 11, 2007
    Messages:
    21
    Likes Received:
    0
    Anybody please correct me if I'm wrong with respect to what follows.

    After you are done with Jailbreak - one of the first things to do is to change your root password. Otherwise - if you ever take your iPod Touch to a public hotspot - anybody with fairly rudimentary knowledge of computers, the iPod Touch / iPhone 'scene' and an SSH client can spoil your fun by wrecking havoc with your iPod.

    NOTE: I did not want to install the entire BSD Subsytem; though that's also an option (probably easier and faster one, too)

    Using information from this post, here are the steps I took:

    1. Go to http://iphone.natetrue.com/
    2. Download BSD_Base-2.0.tar.gz
    3. Open the Download BSD_Base-2.0.tar.gz with something like WinRAR
    4. Find file called passwd (in /usr/bin directory of BSD_Base-2.0.tar.gz: /usr/bin/passwd )
    5. Extract it some place on your hard drive
    6. Using an FTP client - connect to your iPod Touch and place the file some place that makes sens. Say, /usr/bin (so full path to it will be /usr/bin/passwd )
    7. Either connect to your iPod using SSH (e.g. Putty) and type /bin/chmod 555 /usr/bin/passwd . Or if your FTP client allows you to do it - you can set permissions to 555 directly through FTP client (I used CuteFTP Proffesional which lets you right click a file on your server, aka iPod, and set permissions with the Properties / CHMOD option)
    8. Again through your SSH client, type /usr/bin/passwd root
    9. Follow on screen instructions (of which there are two: type new password; retype new new password)
    10. Don't forget your new root password!

    Hope this helps,
    Michael
  2. Andy Huang

    Andy Huang Retired Moderator

    Joined:
    Oct 5, 2007
    Messages:
    968
    Likes Received:
    5
    Device:
    iPhone 4 (Black)
    This is a good idea, but I suspect you may need to change it back before the next firmware update (unless Apple have some other way of forcefully get around the filesystem and upload new files into it). So definetly don't forget the default alpine password ;)
  3. happyman696

    happyman696 New Member

    Joined:
    Oct 3, 2007
    Messages:
    96
    Likes Received:
    0
    Worked like a charm.
  4. smartdude24

    smartdude24 New Member

    Joined:
    Sep 14, 2007
    Messages:
    25
    Likes Received:
    0
    Worked great, thanks for that excellent tip!
  5. kdm

    kdm New Member

    Joined:
    Sep 28, 2007
    Messages:
    34
    Likes Received:
    0
    I wondered if it was safe to leave the default password too.

    Great instructions. Worked perfect through putty.
  6. kmw288

    kmw288 New Member

    Joined:
    Sep 21, 2007
    Messages:
    15
    Likes Received:
    0
    Great tip. Definitly needed to be addressed. As for apple & updates, you probably do not want to do it if you're jailbroken, seeing how they f*d the original iphone hackers.
  7. nckid110

    nckid110 New Member

    Joined:
    Sep 30, 2007
    Messages:
    59
    Likes Received:
    0
    Doesn't the ipod update,auto update anyways?
  8. Andy Huang

    Andy Huang Retired Moderator

    Joined:
    Oct 5, 2007
    Messages:
    968
    Likes Received:
    5
    Device:
    iPhone 4 (Black)
    No, they'll tell you there is a new version available, and nudge you to update it.
  9. MegaMan

    MegaMan New Member

    Joined:
    Sep 16, 2007
    Messages:
    877
    Likes Received:
    2
    i wouldn't update unless you don't like 3rd party apps until it is hacked again:D
  10. kinematic@yahoo.com

    kinematic@yahoo.com New Member

    Joined:
    Oct 14, 2007
    Messages:
    172
    Likes Received:
    0
    Independence works too..

    Actually if you go to the SSH tab in Independence, it works to change the password. Once you do that Independence doesn't seem to like your iPod Touch anymore and thinks it needs to be jailbreaked again.

    Everytime I need to log in with SSH I need to use the new password I created with Independence.

    Cheers

Share This Page