#
# /.login script from the Anonymizing Unix Project
# by van Hauser / THC <vh@reptile.rug.ac.be>
#
if ( -x /usr/bin/fortune ) then
    /usr/bin/fortune -o
endif
echo
echo

#
# Attach the user's CFS homedir. Exit if this fails.
# Note that users can't log on if something's wrong ! (remove || exit 0 to change that)
setenv PATH ${PATH}:/bin:/usr/bin:/usr/local/bin
cattach /crypt/$USER $USER  ||  exit 0

#
# Setting some important variables
setenv HOME /home/$USER
setenv TMPDIR ${HOME}/tmp
setenv PATH ${PATH}:${HOME}/bin:/usr/local/bin
alias rm srm

#
# Now we proceed with the normal logon process
cd $HOME
if ( -e $HOME/.profile ) then
    source $HOME/.profile
endif

# done.
