I am using MobileTerminal on iOS 7, and want to know how to change the default shell from sh: to bash:. I assume I would need to change the login command for this, but how would I?
This is a function of the shell set for the user in /etc/passwd (/etc/master.passwd). Normally you can change this via the chsh command, but iOS7 doesn't have this command. so you need to edit /etc/passwd and /etc/master.passwd (as root) and change the shell for the user mobile to /bin/bash.
So it should look like:
after changing from:
Note: in the master.passwd file the '*' will be your encrypted password.