freebsd-dev/etc/root/dot.login

15 lines
423 B
Plaintext
Raw Normal View History

# $Id: dot.login,v 1.7 1995/06/29 06:30:43 joerg Exp $
1994-02-21 20:36:03 +00:00
#
tset -Q \?$TERM
stty crt erase ^H
umask 2
# plain csh is too stupid to get any information on ARGV[0] back
if (! $?tcsh) then
echo "Don't login as root, login as yourself and use the 'su' command"
else
# for tcsh, check if we have been invoked by an "su -"
if ("$0" != "-su") \
echo "Don't login as root, login as yourself and use the 'su' command"
endif