From 72bcf614b2a5e5f281ca4372fa7dfccf1e6a3c43 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Sat, 5 Aug 2006 08:03:11 +0000 Subject: Relevant BUGIDs: Purpose of commit: new feature Commit summary: --------------- Add xtests to allow checks for PAM functions only doable in installed system. 2006-08-05 Thorsten Kukuk * configure.in: Generate xtests/Makefile. * Makefile.am (SUBDIRS): Add xtests. * README: Document make check and make xtests. * xtests/Makefile.am: New. * xtests/tst-pam_dispatch1.pamd: New. * xtests/tst-pam_dispatch2.pamd: New. * xtests/tst-pam_dispatch3.pamd: New. * xtests/tst-pam_dispatch1.c: New. * xtests/tst-pam_dispatch2.c: New. * xtests/tst-pam_dispatch3.c: New. --- modules/pam_succeed_if/README | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'modules/pam_succeed_if/README') diff --git a/modules/pam_succeed_if/README b/modules/pam_succeed_if/README index c8d2ceff..4516a9d1 100644 --- a/modules/pam_succeed_if/README +++ b/modules/pam_succeed_if/README @@ -38,7 +38,7 @@ quiet_success Conditions are three words: a field, a test, and a value to test for. -Available fields are user, uid, gid, shell and home: +Available fields are user, uid, gid, shell, home and service: field < number @@ -80,6 +80,14 @@ field !~ glob Field does not match the given glob. +field in item:item:... + + Field is contained in the list of items separated by colons. + +field notin item:item:... + + Field is not contained in the list of items separated by colons. + user ingroup group User is in given group. @@ -88,6 +96,14 @@ user notingroup group User is not in given group. +user innetgr netgroup + + (user,host) is in given netgroup. + +user notinnetgr group + + (user,host) is not in given netgroup. + EXAMPLES To emulate the behaviour of pam_wheel, except there is no fallback to group 0: -- cgit v1.2.3