192 |
- |
1 |
# /etc/security/console.handlers
|
|
|
2 |
#
|
|
|
3 |
# This file is provided for configuration of handlers which will be
|
|
|
4 |
# executed when user obtains console lock and when he loses it.
|
|
|
5 |
# Additionally it is used for a configuration of console device names.
|
|
|
6 |
#
|
|
|
7 |
# Format:
|
|
|
8 |
# name consoledevs regex regex ...
|
|
|
9 |
# binary lock|unlock flag flag ...
|
|
|
10 |
# See man console.handlers
|
|
|
11 |
#
|
|
|
12 |
# Example:
|
|
|
13 |
# console consoledevs tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9]
|
|
|
14 |
# echo lock wait Locking console for user on tty
|
|
|
15 |
# touch unlock wait /var/run/console-unlocked
|
|
|
16 |
|
|
|
17 |
console consoledevs /dev/tty[0-9][0-9]* tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]+\.[0-9]+ :[0-9]+
|