The VT_LOCKSWITCH ioctl for syscons allows a user to disable the Alt Fx functionality of the terminal. The lock(1) utility also uses this ioctl when '-v' is passed as an argument. Though very useful to entirely lock a machine, it may be unwanted (a public machine). A sysctl to only allow this ioctl to super-users would be very useful. Fix: The following patch adds a sysctl that allows you to limit this ioctl's usage to super-users only. %%% How-To-Repeat: Run lock -v on a machine with a lot of users. Other users get mad at you because they want to log in.