For shared accounts, it's really annoying if others mess with settings. For that reason, I use the following piece of shell code that I put in .bashrc. Explanation: you configure the MYMACHINE variable as the IP address you usually come from.
# If we're logging in through SSH, write this down
if [ -n "$SSH_CLIENT" ]; then
# Alternative settings
MYMACHINE="172.16.140.14"
FROM=`echo $SSH_CLIENT | cut -f1 -d" "`
case $FROM in
*$MYMACHINE)
export TMOUT=180 #Logout after 3 minutes
set -o vi
# all sorts of other settings
;;
esac
fi