summaryrefslogtreecommitdiff
path: root/etc/root/dot.login
blob: 912a7540e27c5c8d416b414bc852c197796f962e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $OpenBSD: dot.login,v 1.10 2003/08/19 10:13:14 deraadt Exp $
#
# csh login file

set tterm='?'$TERM
set noglob
onintr finish
eval `tset -s -Q $tterm`
finish:
unset noglob
unset tterm
onintr

if ( `logname` == `whoami` ) then
	echo "Don't login as root, use su"
	echo "Read the afterboot(8) man page for administration advice."
endif