dd>
Field has a value numerically less than or equal to number.
Field has a value numerically equal to number.
Field has a value numerically greater than or equal to number.
Field has a value numerically greater than number.
Field has a value numerically different from number.
Field exactly matches the given string.
Field does not match the given string.
Field matches the given glob.
Field does not match the given glob.
Field is contained in the list of items separated by colons.
Field is not contained in the list of items separated by colons.
User is in given group(s).
User is not in given group(s).
(user,host) is in given netgroup.
(user,host) is not in given netgroup.
The condition was true.
The condition was false.
A service error occurred or the arguments can't be parsed correctly.
To emulate the behaviour of pam_wheel, except there is no fallback to group 0 being only approximated by checking also the root group membership:
auth required pam_succeed_if.so quiet user ingroup wheel:root
Given that the type matches, only loads the othermodule rule if the UID is over 500. Adjust the number after default to skip several rules.
type [default=1 success=ignore] pam_succeed_if.so quiet uid > 500
type required othermodule.so arguments...