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