0262eb169a
- support for X server privilege separation - logos
10 lines
405 B
Bash
10 lines
405 B
Bash
#!/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 $
|
|
# $OpenBSD: TakeConsole,v 1.2 2006/11/28 15:41:12 matthieu Exp $
|
|
#
|
|
chmod 622 /dev/console
|
|
chown root /dev/console
|
|
/usr/X11R6/bin/sessreg -d -l $DISPLAY -u /var/run/utmp -x /usr/X11R6/lib/X11/xdm/Xservers $USER
|