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