# @(#) $Revision: 74.2 $    

# Default (example of) super-user's .profile file 


# Do not put "." in PATH; it is a potential security breach.
# Do not put "/usr/local/bin" in PATH; it is a potential security breach.
# Example assumes /home/root exists.
	set +u

	PATH=/usr/sbin:$PATH:/sbin:/home/root

# Be sure that VUE does not invoke tty commands

   if [ ! "$VUE" ]; then

   # Set up the terminal:
	if [ "$TERM" = "" ]
	then
	        eval ` tset -s -Q -m ':?hp' `
	else
	        eval ` tset -s -Q `
	fi
	stty erase "^H" kill "^U" intr "^C" eof "^D"
	stty hupcl ixon ixoff
	tabs

	echo
	echo "Value of TERM has been set to \"$TERM\". "
	export TERM 

	EDITOR=vi
	export EDITOR

   fi	       # if !VUE


# Set up shell environment:

	set -u					# error if undefined variable.
	trap "echo 'logout root'" 0  		# what to do on exit.


# Set up shell variables:

	MAIL=/var/mail/root
	# don't export, so only login shell checks.

	echo "WARNING:  YOU ARE SUPERUSER !!\n"
