GiveConsole revision 145b7b3c
1145b7b3cSmrg#!/bin/sh 2145b7b3cSmrg# Assign ownership of the console to the invoking user 3145b7b3cSmrg# $Xorg: GiveConsole,v 1.3 2000/08/17 19:54:17 cpqbld Exp $ 4145b7b3cSmrg# 5145b7b3cSmrg# By convention, both xconsole and xterm -C check that the 6145b7b3cSmrg# console is owned by the invoking user and is readable before attaching 7145b7b3cSmrg# the console output. This way a random user can invoke xterm -C without 8145b7b3cSmrg# causing serious grief. 9145b7b3cSmrg# 10145b7b3cSmrgchown $USER /dev/console 11