summaryrefslogtreecommitdiff
path: root/app/xdm/config/TakeConsole
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 20:39:09 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 20:39:09 +0000
commit2387c426e6dfc2b0a2d0aa5585dbeb580f5ea91e (patch)
tree12721540663213a17c4c6a294f8f9473621fd503 /app/xdm/config/TakeConsole
parentdc4a2107be04f29ad06d6e60e102370bf68739cd (diff)
Importing from X.Org 7.2RC2
Diffstat (limited to 'app/xdm/config/TakeConsole')
-rw-r--r--app/xdm/config/TakeConsole7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/xdm/config/TakeConsole b/app/xdm/config/TakeConsole
new file mode 100644
index 000000000..005c5e060
--- /dev/null
+++ b/app/xdm/config/TakeConsole
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Reassign ownership of the console to root, this should disallow
+# assignment of console output to any random users's xterm
+# $Xorg: TakeConsole,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
+#
+chmod 622 /dev/console
+chown root /dev/console