GiveConsole revision 1.1 1 1.1 mrg #!/bin/sh
2 1.1 mrg # Assign ownership of the console to the invoking user
3 1.1 mrg # $Xorg: GiveConsole,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
4 1.1 mrg #
5 1.1 mrg # By convention, both xconsole and xterm -C check that the
6 1.1 mrg # console is owned by the invoking user and is readable before attaching
7 1.1 mrg # the console output. This way a random user can invoke xterm -C without
8 1.1 mrg # causing serious grief.
9 1.1 mrg #
10 1.1 mrg chown $USER /dev/console
11