3

Is my strange default shell on the server the cause of my many troubles?

view full story
linux-howto

http://unix.stackexchange.com – By finger tim on the server, I learned that my default shell is some script /usr/local/bin/bash-wrapper whose content is: #!/bin/bash USERNAME=`whoami` if ! grep ^$USERNAME$ /etc/domain-users > /dev/null; then echo -e "You are not authorized to log into this server\n\n" elif test -z "$2"; then echo -e "User authorized" /bin/bash else #in case users are trying to send a command via ssh or use scp $2 fi I now understand the script is the cause of me previously being kicked out upon logging in using ssh. The problem is now gone, because I was just recently added to that file / (HowTos)