Changing the default shell to bash
The default shell can be changed in /etc/passwd, by changing /bin/sh to /bin/bash for the root entry, to look like this:root:DJa2sk3j82das:0:0:root:/home/root:/bin/bash
but this will break the default dropbear ssh server, to fix it install the openssh server,# ipkg install -d loop0 openssh-sshd
and ipkg install again to fix the errors
# ipkg-link add openssh-sshd
No comments:
Post a Comment