#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
# $XConsortium: TakeConsole,v 1.2 93/09/28 14:30:29 gildea Exp $
#
chown root:tty /dev/console /dev/tty0
chmod 622      /dev/console /dev/tty0

exec sessreg -d -l $DISPLAY $USER
