1145b7b3cSmrg#!/bin/sh
2145b7b3cSmrg# Assign ownership of the console to the invoking user
3145b7b3cSmrg#
4145b7b3cSmrg# By convention, both xconsole and xterm -C check that the
5145b7b3cSmrg# console is owned by the invoking user and is readable before attaching
6145b7b3cSmrg# the console output.  This way a random user can invoke xterm -C without
7145b7b3cSmrg# causing serious grief.
8145b7b3cSmrg#
9145b7b3cSmrgchown $USER /dev/console
10