Thursday, March 27, 2008

iPhone: password? We don't need no stinkin' password!

If you jailbreak and hack your iPhone, you may discover that your root password no longer works.

The default root password as of iPhone OS 1.1.4 is alpine. That's no secret at all, and if you worry about somebody hacking your phone you may want to change it. I'm still investigating that task.

Problem is, you may try alpine without success. I did!

What I learned is that installing some apps and libraries may cause problems with Terminal and other UIs that access the OS. If you have installed BSD 2.0, or some of the utilities that use it, you may find that alpine no longer works.

In that case, install the following:
  • BSD Term fix
  • SUID fix
The password will start working again.

No comments: