pam_console_apply(8) -- Linux man page
NAMEpam_console_apply - set or revoke permissions for users at the system console
SYNOPSISpam_console_apply [-f <fstab file>] [-c <console.perms file>] [-r] [<device file> ...]
DESCRIPTIONpam_console_apply sets or resets permissions on devices in the same manner as pam_console.
If /var/run/console.lock exists, pam_console_apply will grant permissions to the user listed therein. If the lock file does not exist, permissions are reset to those listed in /etc/security/console.perms, which should be configured to set permissions on devices so that root owns them.
- Load other console.perms file than the default one.
- Load other fstab file than the default one (/etc/fstab).
- Signals pam_console_apply to reset permissions. The default is to set permissions so that the user listed in /var/run/console.lock has access to the devices, and to reset permissions if no such file exists.
BUGSLet's hope not, but if you find any, please report them via the "Bug Track" link at http://bugzilla.redhat.com/bugzilla/
AUTHORNalin Dahyabhai <firstname.lastname@example.org>, using code shamelessly stolen from parts of pam_console.