pam_group: Add ruser and luser options.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 24 Dec 2011 20:15:58 +0000 (12:15 -0800)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 24 Dec 2011 20:15:58 +0000 (12:15 -0800)
commitb227436d67f27b4f6aa842d0169eb61c830cb47a
treef85b08c22c24921593574981a55a6fd215aa0d52
parent0b46a3700fc10b0d2ed3944be7ae11b71300e995
pam_group: Add ruser and luser options.

The former corresponds to the current behavior, where the module checks
that the supplicant is a member of the required group.  The latter
checks the target user instead.  If neither option was specified,
pam_group(8) assumes "ruser" and issues a warning.

Obtained-from:  FreeBSD 219563 & 219564
lib/pam_module/pam_group/pam_group.8
lib/pam_module/pam_group/pam_group.c