toltec
toltec copied to clipboard
Changing shell to anything but /bin/sh and /bin/bash breaks SSH
The fish package doesn't add fish to /etc/shells which causes dropbear to reject new SSH sessions with "permission denied" because User 'root' has invalid shell, rejected
. The package should add fish to /etc/shells.
We'll have to sort out how to add values to /etc/shells
automatically for all the different shells in entware. That, or have something on startup that forces the shell for root
to be /bin/sh
and then makes sure to add code to launch the other shell to the user profile.