pam_console_apply - set or revoke permissions for users at the system console
Synopsis
Description
Arguments
Files
Bugs
Author
pam_console_apply [-f <fstab file>] [-c <console.perms file>] [-r] [<device file> ...]
pam_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.
The optional <device file> arguments constrain what files should be affected by pam_console_apply. If they arent specified permissions are changed on all files specified in the console.perms file.
-c Load other console.perms file than the default one. -f Load other fstab file than the default one (/etc/fstab). -r 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.
/var/run/console.lock
/etc/security/console.perms
pam_console(8)
console.perms(5)
Lets hope not, but if you find any, please report them via the "Bug Track" link at http://bugzilla.redhat.com/bugzilla/
Nalin Dahyabhai <nalin@redhat.com>, using code shamelessly stolen from parts of pam_console.
| Red Hat | pam_console_appy (8) | 2001/3/6 |