Showing posts with label default shell. Show all posts
Showing posts with label default shell. Show all posts

Thursday, July 12, 2007

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
# ipkg-link add openssh-sshd
and ipkg install again to fix the errors