if [ "$LOGNAME" = "new" ] && [ "$1" = "to whom: " ] then echo "You need to create your own account to send mail to anyone other" echo "than Sysadmin, otherwise they would be unable to reply to you." getcr exit fi echo "$1\c" read ans echo if [ "$LOGNAME" = "new" ] && [ "$1" = "file:" ] then case $ans in /usr/pub/*) break;; /usr/arch/*) break;; *) echo "You need to create your own account to download any files except" echo "those in the /usr/pub or /usr/arch directories." getcr exit;; esac fi exec sh -c "$2 $ans"