Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

j0ebeer

macrumors member
Original poster
Mar 5, 2007
42
0
I've reinstalled openssh onto the phone but can't remember my old password. By default openssh uses the password alpine on firmware 1.1.1 but that doesn't work. I'm guessing it's using the password from the previous install. Is there a file that can be deleted or way around this?

I'm surprised it's using an old password as when I upgraded from 1.0.2 to 1.1.1 it was a fresh install of 1.1.1.

Any ideas?

Joe
 
Your password is stored in /etc/master.passwd in a md5 hash. OpenSSH only authenticates you against the password in there (the username is root in this case).

I'd guess this file is replaced when doing a restore, and that this is your only option (thus resetting to 'alpine').
 
I've reinstalled openssh onto the phone but can't remember my old password. By default openssh uses the password alpine on firmware 1.1.1 but that doesn't work. I'm guessing it's using the password from the previous install. Is there a file that can be deleted or way around this?

I'm surprised it's using an old password as when I upgraded from 1.0.2 to 1.1.1 it was a fresh install of 1.1.1.

Any ideas?

Joe

Or you can change password. Install Mobile Terminal from Installer on the iPhone, it's called TermV...something, I can't quite remember. Launch mobile terminal, type in "passwd" (withouth the quotes of course), then type in your new password.
 
Or you can change password. Install Mobile Terminal from Installer on the iPhone, it's called TermV...something, I can't quite remember. Launch mobile terminal, type in "passwd" (withouth the quotes of course), then type in your new password.

Excellent, that worked like a charm. Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.