PAM-Modules |
|
A Collection of Modules for PAM |
Sergey Poznyakoff |
pam_regex
to control access.To control access depending on supplied user name, two options are provided. The option regex introduces a regular expression with which to compare a user name:
Compare user name with expression. By default, extended regular expressions with case-sensitive matching are used, but this can be changed using other options (see below).
When this option is used, pam_regex
allows only login
attempts with user names that match expression. The
sense command line option is provided to control that
behavior:
What to do if the user name matches the expression. The value
‘allow’ means to return PAM_SUCCESS
, ‘deny’ means to
return PAM_AUTH_ERR
. Default is ‘allow’.
This document was generated on August 11, 2021 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.