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