Hello All,
If anyone's there at all. I've moved my blog to Wordpress. Unfortunately, I haven't been able to move my posts on this blog there yet. I'll get around to that soon. Anyway, the new site is up at http://teeemoy.com/. Feel free to drop by and comment. I'm getting rid of this site soon.
I've had a good run. And I think it's time to move on to better topics instead of the usual rambling I do around here. I hope to see you all there.
Tim
Saturday, April 03, 2010
Thursday, January 28, 2010
Changing the 'root' password on your iPhone without MobileTerminal
I'm one of those people who don't want to clutter up my iPhone with useless apps. So all I've installed are only the essential. For me to be able to enable and toggle ssh, I installed SBSettings and OpenSSH which can be downloaded from Cydia.
After enabling ssh, your iPhone now becomes a security risk. Anyone can get into it. Why? The default root password is 'alpine'. Now we can't have that. We want to change that. One way of changing the root password is installing an app called MobileTerminal which by the way, is also downloadable from Cydia.
As I have said earlier, I don't want to clutter my iPhone with apps I won't need. So what I've done is to access the phone using ssh from my mac.
Here's how to do it:
First off all, you'll need to get the IP address of your iPhone. This is granting your mac and iPhone are on the same network.
On your iPhone, go to Settings > WiFi.
Click on the arrow on the right of the network you're connected to.
On that screen, you will see your IP Address.
Alternatively, if you have SBSettings installed, you can swipe on the top bar of your iPhone and view the IP Address directly.
Our sample IP Address for this tutorial will be 192.168.1.3.
Now that you have your IP Address, you will need to do the following on your mac.
Now, aside from the root user, you will also need to change the password for the mobile user. Why there's a mobile user is beyond me.
To do this, you must first exit from the iPhone ssh by simply typing exit.
You must now log on as the mobile user.
And it's all pretty self explanatory from here. After changing your password, keep on typing exit until the terminal window goes away.
As an added precaution, you might want to toggle ssh off on your iPhone if you're not transferring anything. Enjoy.
After enabling ssh, your iPhone now becomes a security risk. Anyone can get into it. Why? The default root password is 'alpine'. Now we can't have that. We want to change that. One way of changing the root password is installing an app called MobileTerminal which by the way, is also downloadable from Cydia.
As I have said earlier, I don't want to clutter my iPhone with apps I won't need. So what I've done is to access the phone using ssh from my mac.
Here's how to do it:
First off all, you'll need to get the IP address of your iPhone. This is granting your mac and iPhone are on the same network.
On your iPhone, go to Settings > WiFi.
Click on the arrow on the right of the network you're connected to.
On that screen, you will see your IP Address.
Alternatively, if you have SBSettings installed, you can swipe on the top bar of your iPhone and view the IP Address directly.
Our sample IP Address for this tutorial will be 192.168.1.3.
Now that you have your IP Address, you will need to do the following on your mac.
- Open a Terminal window.
- Type in: ssh 192.168.1.3
-l root - Press enter.
- The terminal will ask you something about an RSA fingerprint. Just type in yes then press enter.
- Type in alpine as the password. You will now be connected to your iPhone.
- Now type in passwd and press enter.
Now, aside from the root user, you will also need to change the password for the mobile user. Why there's a mobile user is beyond me.
To do this, you must first exit from the iPhone ssh by simply typing exit.
You must now log on as the mobile user.
- Type in: ssh 192.168.1.3
-l mobile - Press enter.
- Type in alpine as the password.
- Now type in passwd and press enter.
And it's all pretty self explanatory from here. After changing your password, keep on typing exit until the terminal window goes away.
As an added precaution, you might want to toggle ssh off on your iPhone if you're not transferring anything. Enjoy.
Subscribe to:
Posts (Atom)