home *** CD-ROM | disk | FTP | other *** search
- # $Id: 1stlogin.ann,v 1.10 91/02/07 09:55:17 bbh Rel $
- # Tell the new user what the rules are:
-
- # Give him a temp terminal for this script, which is run from /etc/profile:
- TERM=vt100
- export TERM
-
- done=
- until [ "$done" = "yes" ];do
- # Clear the screen
- tput clear
- cat << "END_PAGE_1"
-
- WELCOME!!!
-
- First, you should invoke 'menu' from the command line, then select 'policy'
- to review the basic policies which govern the operation of this system and
- who is responsible for what.
-
- If a policy has provisions with which you do not agree, please notify the
- administrator AT ONCE voicing your concerns/suggestions. Absent such notice,
- you are assumed to have reviewed, understood, and agreed to conform to all
- written policy prevailing during any period you have authorized access to
- this host, as evidenced by your continuing to log in.
-
- If policies are significantly changed at any time, you will be sent email
- to inform you that a change has been effected, *or* there will be an announce-
- ment in the system 'news' that will show up when you log in.
-
- [ You are responsible for reading all system 'news' messages containing the
- word "policy", since these will contain information effecting specific policy
- changes, which should occur rarely. ]
-
- END_PAGE_1
- echo " (Touch 'RETURN' to continue)"
- read nothing
- cat << "END_PAGE_2"
-
- An initial .profile and .kshrc are provided for your convenience. If you
- want to see the special (read "usenet") features available on this machine,
- most of them have man pages, and 'manlist' will give you a brief list of
- what non-AT&T commands are available. Detail, of course, can be gotten
- by reading the man pages themselves.
-
- Again, welcome to 'mtek' - if we can assist you in any way, please let us
- know!
-
- END_PAGE_2
-
- echo "Do you wish to re-read this message? [y]/n > \c"
- read done
- case $done in
- y*|Y*|"") # No -wants to see it again
- :
- ;;
- *) # He's done
- done="yes"
- break
- ;;
- esac
- done
-
- # Make a permanent record that this user has seen this announcement
- record="$HOME/..."
- echo "Announcement presented to this user, '$LOGNAME.'" > $record
- chmod 440 $record
- chgrp root $record
- chown root $record
-
- # Clear the screen
- tput clear
-
- # Take away the temp terminal (user's .profile will supply the real one
- # hereafter):
- TERM=
- export TERM
-
- # end of file
-