From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 Description of problem: When calling "man 8 pam_console" it references a file named "/var/run/console.lock" (under FILES). Also the same manpage says the following: "pam_console.so is designed to give users at the physical console (virtual terminals and local xdm-managed X sessions by default, but that is configurable) capabilities that they would not otherwise have, and to take those capabilities away when the are no longer logged in at the console." But the man page doesn't tell me how to configure which users should be considered as console users nor does it point to the appropriate configuration files (which is the task I actually wanted to get done so if you can give me any pointers for that one I would be glad, too). fs Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: man 8 pam_console Additional info:
It doesn't tell which should be considered as console users simply because ANY user which logs in on the physical console (text one or gdm/xdm/kdm) becomes console user if the console lock is not held by another user. So it is not configurable.
The location of the console.lock file was changed from /var/run/ to /var/run/console/. That change should be reflected in the docs. After all, I figured out how to implement the behavior I liked by changing (/etc/security/{console.handlers, console.perms}) because it is configurable which users are considered as console users. fs
I'm really curious how did you configure which users are considered console users. I'll fix the path in man page in the development version of pam.