Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: 2.0.2 Root Password
08-26-2008, 07:50 PM #12.0.2 Root Password
Does anyone know if the root password has been changed in firmware 2.0.2? I repwned my iPhone today with the Pwnage tool and root and alpine will not work. Mobile and alpine will work, but I need to be logged in as root. I tried connecting over afp using the Netatalk package with no luck. I also tried to ssh with Fugu but it wouldn't even connect. It threw back to me that the host had been changed. I know I have OpenSSH installed on my iPhone.
08-26-2008, 08:13 PM #2
Renew your tcp ip address and make sure that your iphone can connect to your wireless network. Then open up your ftp program and make sure its at sftp with root and alpine. Sometimes you may have to install boss prefs to ensure that the SSH option is on and not accidently put to off.
08-26-2008, 08:17 PM #3
And sometimes it takes a few times for it to work root & alpine.
08-27-2008, 01:28 PM #4No really, something is up here.
Just did a fresh PWNAGE tool restore on a ist gen iphone. . .
Mobile/alpine works fine
all fail. Bad passwords. Tried each one a dozen times, even did the reboot/resprint/tug on the USB cable/etc stuff. I can connect fine through finder on a macbook with the iphone having netatalk on it, but only as mobile.
I can copy files to and from the iphone via finder no problem, but when I take, say, the sms.db from the iphone to the macbook it comes through fine, but if I try to put it BACK to the iphone, the permissions are set to mobile/rw everyone else/no access.
Yes, this means I kinda screwed up my SMS abilities for the time being. Sigh.
The point is, there is a new root password for some iphone users root accounts if they are on 2.01 or 2.02 with PWNAGE tool restores. Either this is a firmware thing from apple or something from PWNAGE tool.
And no, I swear to whatever dieties you worship, and to the Gods of Mountain Dew if that works better for you, I did NOT CHANGE MY ROOT PASSWORD. This is a fresh restore, and root is no longer alpine or dottie.
08-27-2008, 03:37 PM #5
Just did a clean restore to 2.0.2 and used the newest QuickPwn. After installing cydia i installed SHH. I can not ssh in with alpine or dottie either.
08-27-2008, 04:35 PM #6
works fine for me with alpine i used quickpwn
08-27-2008, 04:45 PM #7
quickpwn my 3G phone to 2.0.1 and again to 2.0.2 and root/alpine works as expected ssh/sftp.
08-30-2008, 01:25 AM #8Nope, not a password change, something else.
Ok, here is what I did. It still does not work.
1st gen iPhone
PWNAGE tool 2.0.3 and installed firmware 2.0.2
Used netatalk to get into the file structure from my macbook over a USB connection.
Logged in with mobile as the user and alpine as the password. Worked fine.
Tried to log in as root with all capitalization variants of dottie and alpine at least three times each. No luck.
Ok, now HERE IS WHERE IT GETS STRANGE:
I then fired up Terminal on the iPhone, and typed in: su -
It asked me for a password, I typed in: alpine
Voila! I had root access. But only in terminal. If I try to log in via netatalk again with the exact same password, it says it's the wrong password.
This is where my abilities come crashing to a halt. apline is the root password for my iphone if I use terminal, and it is not if I use netatalk. I have no idea what the next step is.
private/var/stash/share has a netatalk directory, with permissions set at 0644 and icommander shows various root:wheel options. I don't have time to get to it tonight, but MAYBE changing the permissions so netatalk has root access is the direction to go. If anyone tries it, please let the rest of us know if it works.
Last edited by davethegreat; 08-30-2008 at 01:25 AM. Reason: Automerged Doublepost
08-30-2008, 07:16 PM #9
I have figured it out!
What has happened is the RSA key was changed for the iPhone when I pwned it the second time, so my Macbook couldn't recognize it anymore. I figured this out when I tried to ssh through the Terminal. What I did to fix it was delete my "known_hosts" file via the Terminal. I went to the Terminal and typed in "cd /Users/your user name here/.ssh. I typed in "rm known_hosts" to delete the file. Once that was done, I tried to ssh back into to my iPhone via Terminal. It sent back to me that my iPhone wasn't secure and asked if I still wanted to connect to it. I typed in yes, then my password and I got in! I can now use Fugu to get into my iPhone file system. I haven't figured out Netatalk yet, but it could be something close. I have one warning though. The "known_hosts" file contains info on all servers you have used ssh to get into. If you have other computers you have used ssh to get into, their information will also be deleted when you delete your "known_hosts" file.
The Following User Says Thank You to octoarmor For This Useful Post:
08-31-2008, 11:26 AM #10
I'm having the same problem. When I try to use your solution, it looks as if the path was wrong, (...and typed in "cd /Users/your user name here/.ssh. I typed in "rm known_hosts"...)
But I guess I'm just in the wrong directory and I'm not getting it. With cyberduck I couldn't find any "known_hosts"-file either. What am I missing?
08-31-2008, 02:46 PM #11I don't have that director. At all.
I typed in cd /Users/ in terminal and just don't have that directory. I tried it both as root and as mobile. The closest I could find is the usr directory, which has no subdirectory named any usernames that I can find.
Also, if I did have that directory, what username would I use? I never felt the need to set up a username when I pwned the phone, so, root? Admin? Mobile? What default username would be there?
Even tried a unix find command for the whole system, and came up with nothing named known_hosts. . . .
Maybe there is a way to set these tasks as an automated thing we can download and install?
08-31-2008, 04:54 PM #12
The directories you are looking for are on your Mac, not your iPhone. Files are on your computer.
09-02-2008, 03:04 PM #13
SFTP works with alpine as the password, however AFP does not work with alpine or dottie. What is up with this. Pwned using Pwnagetool 2.0.3 and pwned to 2.0.2 and it has cydia and installer on it. terminal works fine. Afping mobile with alpine works fine. but root does not work. Any ideas on how to fix it?check out my website at http://www.alinssite.info
Keep up the hackage!
09-16-2008, 11:22 AM #14
I'm having the same problem with 2.1 installed on my 3g. Can't login as root, mobile works fine.
09-19-2008, 10:15 AM #15
I had this problem.. I went into a terminal on the mac and tried SSHing to my iphone IP and got this msg..
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
Please contact your system administrator.
Add correct host key in /Users/chris/.ssh/known_hosts to get rid of this message.
Offending key in /Users/chris/.ssh/known_hosts:3
RSA host key for 192.168.2.2 has changed and you have requested strict checking.
Host key verification failed.
So the fix I used, not being a linus/unix guru, was to manually change the IP address on the iphone then try to SSH in again.. This solved the problem.. Can login as root with alpine as the password now.
09-21-2008, 10:24 AM #16
i cant login afp via root just mobile im on 2.1 anyone know a fix?