Initial add of defaria.com
[clearscm.git] / defaria.com / Computers / code / adm / etc / root_profile
1 # @(#) $Revision: 74.2 $
2
3 # Default (example of) super-user's .profile file
4
5 # Do not put "." in PATH; it is a potential security breach.
6 # Do not put "/usr/local/bin" in PATH; it is a potential security breach.
7 # Example assumes /home/root exists.
8         set +u
9
10         PATH=/usr/sbin:$PATH:/sbin:/home/root
11
12 # Be sure that VUE does not invoke tty commands
13
14    if [ ! "$VUE" ]; then
15
16    # Set up the terminal:
17         if [ "$TERM" = "" ]
18         then
19                 eval ` tset -s -Q -m ':?hp' `
20         else
21                 eval ` tset -s -Q `
22         fi
23         eval `/usr/bin/X11/resize`
24         stty erase "^H" kill "^X" intr "^C" eof "^D" susp "^Z"
25         stty hupcl ixon ixoff
26         tabs
27
28         #echo
29         #echo "Value of TERM has been set to \"$TERM\". "
30         export TERM
31
32         EDITOR=vi
33         export EDITOR
34
35    fi          # if !VUE
36
37 # Set up shell environment:
38         HISTFILE=/.sh_history; export HISTFILE
39         set -u                                  # error if undefined
40 variable.
41         set -o emacs
42         #trap "echo 'logout root'" 0            # what to do on exit.
43         alias t="exec /app/tcsh"
44
45 # Set up shell variables:
46
47         MAIL=/var/mail/root
48         # don't export, so only login shell checks.
49
50         # For Medusa: Turn off mesg
51         mesg n
52         echo "Warning: You are superuser!"