- http://serverfault.com/questions/458553/cant-log-in-via-ssh-to-any-accounts-set-to-use-bin-bash-as-a-default-shell
- Synology employs a customised version of ssh, having a modified C function “IsAllowShell”, only allowing /bin/sh and /bin/ash
- in order to achieve my goal, I inserted this code into my $HOME/.profile (code coped and adopted from the discussion thread quoted above):
[ -x /opt/bin/bash ] && exec /opt/bin/bash -login
Leave a Reply