Browse Source

differentiate between logging in as root and using "su -"

OPENBSD_2_2
kstailey 27 years ago
parent
commit
99ff9c8ebb
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/etc/root/dot.login

+ 4
- 1
src/etc/root/dot.login View File

@ -1,2 +1,5 @@
tset -Q \?$TERM tset -Q \?$TERM
echo "Don't login as root, use su"
if ( `logname` == `whoami` ) then
echo "Don't login as root, use su"
endif

Loading…
Cancel
Save