summaryrefslogtreecommitdiff
path: root/config/TakeConsole
diff options
context:
space:
mode:
Diffstat (limited to 'config/TakeConsole')
-rw-r--r--config/TakeConsole4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/TakeConsole b/config/TakeConsole
index 7b08050..7cce126 100644
--- a/config/TakeConsole
+++ b/config/TakeConsole
@@ -1,10 +1,10 @@
#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
-# $OpenBSD: TakeConsole,v 1.5 2015/01/25 21:51:20 jca Exp $
+# $OpenBSD: TakeConsole,v 1.2 2017/10/04 18:28:59 matthieu Exp $
#
-chmod 622 /dev/console
chown root /dev/console
+chmod 622 /dev/console
if [ -c /dev/drm0 ]; then
chown root /dev/drm0
fi