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