diff options
Diffstat (limited to 'config/TakeConsole')
-rw-r--r-- | config/TakeConsole | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/TakeConsole b/config/TakeConsole index 88c9aa8..cf649f9 100644 --- a/config/TakeConsole +++ b/config/TakeConsole @@ -1,7 +1,7 @@ #!/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.4 2019/05/12 11:53:06 jsg Exp $ +# $OpenBSD: TakeConsole,v 1.5 2021/02/12 10:33:34 jsg Exp $ # chown root /dev/console chmod 622 /dev/console @@ -11,4 +11,10 @@ fi if [ -c /dev/drmR128 ]; then chown root /dev/drmR128 fi +if [ -c /dev/dri/card0 ]; then + chown root /dev/dri/card0 +fi +if [ -c /dev/dri/renderD128 ]; then + chown root /dev/dri/renderD128 +fi /usr/X11R6/bin/sessreg -d -l $DISPLAY -u none $USER |