Files
oldlinux-files/Linux-0.98/Yggdrasil-0.98.3/usr/X386/lib/X11/xdm/GiveConsole
2024-02-19 00:21:16 -05:00

10 lines
325 B
Bash
Executable File

#!/bin/sh
# Assign ownership of the console to the invoking user
#
# 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