This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-openbsd
mirror of
https://github.com/Fincer/openntpd-openbsd
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
61
Wiki
Activity
Browse Source
differentiate between logging in as root and using "su -"
OPENBSD_2_2
kstailey
27 years ago
parent
25a1abf7fb
commit
99ff9c8ebb
1 changed files
with
4 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save