Much has been said lately about the security of the iPhone with the Jailbreak done. One of the main security problems is that we usually leave the password "alpine" when we install SSH, which would allow anyone a little savvy to steal and modify files to their advantage.
Therefore we are going to explain how to change the password:
- We downloaded from Cydia «MobileTerminal».
- We open MobileTerminal.
- We type (without quotes): «su». If it doesn't work, try "login root".
- Now we enter the password: «alpine».
- Now we write: "passwd".
- And then we enter the password that we want and we press the «enter» key.
To change the password for the mobile user (this is to make the iPhone even more secure):
- We open MobileTerminal.
- Now we write: "passwd".
- And then we enter the password that we want and we press the «enter» key.
And we will have the new password and our iPhone will be more secure.
To say that the password «alpine» is not from the SSH, but from the root of the iPhone OS ...
The Sudo Command does not work on the iPhone, it must be the "su" command without the quotes ...
Does anyone know why the password is "alpine"? Just out of curiosity.
Hello, the command sudo: command not found
someone knows what is the syntax for changing the password because io can't tell me that the command can't be found
I already have it, you have to write: your root and from there everything the same, ALPINE, passwd and the new pw
@Edgar:
Why do they never read the comments, there is the solution ...
It is not with the "sudo" command because it is not Linux, it is the "su" command because it is a Unix kernel!
You have to read well to be documented ...
It happens to me with Putty and now with terminal, when I write the su command, it tells me passwd but it won't let me enter the pass, someone knows why, I have a yellow rectangle.
solved
calambrin how have you done it? The same happens to me
Yes, how is it solved?
Yes, comment on how to solve it, I stayed on changing the password and it won't let me
I have changed the password… and now it won't let me in… how can I go back to alpine?
I, I could ... on another page
hla calambrin or edgar, can you explain us how you have done to enter the password? is that he does not let me type anything once I have put -su-
The yellow square does not move
When you put your and it asks for the password, you have to type it even though it does not come out (precisely it does not come out so that nobody can see it)
the command is su (it works for me) if you are not going to try with "login root"
yes it works, yes. The yellow square, even if it does not move, captures what you write.
What I don't understand is the second part of the manual .. about changing the mobile user password, because it asks for the old password, but I don't know if it's alpine, root or the one we just chose .. it doesn't give the option to put one new….
Thanks for the help
Once changed, can terminal be uninstalled without losing the password just changed?
let's see what to do
enter "su root" without quotes
He asks you for pw: you put «alpine» without quotes, even if the little yellow square doesn't move.
EYE NOW: NEXT WE PUT "root" without quotes, and it will recognize the name and you will get:
Changing password for root (root is the user we all have)
New password: obviously, the pw that we want to put.
Retype new password: you put it back, without making a mistake if possible.
once I have done this, I have come up with:
mismatch; try again, EOF to quit.
New password: I have put the one that I had put before
Retype new password: I have put it back
And after having written the new pw 4 times in the terminal, press Home and go to ssh, and enter with your new password.
salu2, I don't know if the rest have come out as it is above, it only turned out like this for me… thanks for the contribution, I had been wanting to change the pw for a long time.
Hello
Let's see if someone gives me a hand, I have changed root to xxxx and alpine to yyyy to put something for you and when I go to cyberduck there is no way to make a connection, in the end I had to put root and alpine again, what can I do? in cyberduck it tells me authentication failure.
A greeting and thanks in advance.
A clarification 8L! ND, SUDO is not written because SUDO is to give an order with root privileges, SU is to authenticate as root, now, FRIEND SERGIO, the mac creates a file called KNOW_HOSTS, there are certain configurations of the network devices, in this case your iphone or ipod should already be saved in that list, all you have to do is open TERMINAL on the Mac and type this
rm /Users/tuusuario/.ssh/Known_Hosts where «tuusuario» is your home folder, and voila, try to connect again, it will recreate that file with the new keys and you will be able to enter without problems ...
Hi Carlos, I don't understand what I have to do, on my Mac, how do I enter TERMINAL?
I would appreciate it if you could explain it to me in more detail.
a greeting.
Greetings, what I was going to do, is that Cyberduck does not let you enter your iphone because the connections you make are saved on your Mac, this in the Known_Hosts file, in that file the IPs, keys, etc. are saved, that is why that your device, being within that list, already has certain parameters "detected", total, but not to long story short, Open the TERMINAL inside your Utilities folder in Applications ... You write the command I gave you, and with that it is deleted the Known_Hosts file and then you try to connect again with the new password… if you have any questions you can contact me via messenger ( icecool_mx@hotmail.com )… Greetings…
Thanks Carlos, this afternoon I get to know what happens. A greeting and thanks again.
HELP serious problem:
hahaha I changed the ssh password like everyone else and it turns out that now I no longer remember this one .. !!
Can somebody help me '???
use putty XD
Some time ago I changed the passw of my iphone and it turns out that now I do not remember the password and I can not connect with the ssh protocol that I can do.
A question that I really read all the comments quickly and I don't know if this was already answered .. but I wanted to know if once the Alpine password was changed for a new one, and then we changed the firmware to a newer one with jailbreak. .Returns to the default password alpine? or does it stay for the one I changed? thanks in advance .. 😉
thank you very much gentlemen.
reading I was able to change the password without problems
ONE THING I HAVE INSTALLED THE MOBILE TERMINAL I WHEN I WANT TO OPEN IT IT OPENS I SAW ALONG TIME I CAN DO THANKS