# .bash_profile - file executed when logging in
# identify via remote addr
-case "${SSH_CLIENT%% *}" in
-195.222.9.201) # glen ;)
- export FTPADM=glen
- ;;
-193.0.96.*|2001:6a0:5001:*) # baggins
- export FTPADM=baggins
- ;;
-esac
+#case "${SSH_CLIENT%% *}" in
+#192.168.1.1) # ftpadmin
+# export FTPADM=ftpadmin
+# ;;
+#esac
# identify via terminal last login (su, sudo)
if [ -z "$FTPADM" ]; then
# per-admin defaults
case "$FTPADM" in
-glen)
- export TZ=EET
- case $(id -un) in
- pldth)
- echo -ne "\033kth@ftp\033\\"
- ;;
- fpldac|pldac)
- echo -ne "\033kac@ftp\033\\"
- ;;
- esac
- ;;
'')
export FTPADM=$USER
;;