/
usr
/
share
/
doc
/
pam
/
txts
/
/usr/share/doc/pam/txts
mkdir
upload
Name
Size
Mode
Actions
README.pam_access
5253
0644
edit
dl
rm
README.pam_chroot
1510
0644
edit
dl
rm
README.pam_console
1925
0644
edit
dl
rm
README.pam_cracklib
9757
0644
edit
dl
rm
README.pam_debug
1995
0644
edit
dl
rm
README.pam_deny
1035
0644
edit
dl
rm
README.pam_echo
1100
0644
edit
dl
rm
README.pam_env
3627
0644
edit
dl
rm
README.pam_exec
2230
0644
edit
dl
rm
README.pam_faildelay
827
0644
edit
dl
rm
README.pam_faillock
6062
0644
edit
dl
rm
README.pam_filter
3102
0644
edit
dl
rm
README.pam_ftp
1699
0644
edit
dl
rm
README.pam_group
2175
0644
edit
dl
rm
README.pam_issue
1356
0644
edit
dl
rm
README.pam_keyinit
2245
0644
edit
dl
rm
README.pam_lastlog
2597
0644
edit
dl
rm
README.pam_limits
2421
0644
edit
dl
rm
README.pam_listfile
3626
0644
edit
dl
rm
README.pam_localuser
1167
0644
edit
dl
rm
README.pam_loginuid
1117
0644
edit
dl
rm
README.pam_mail
2009
0644
edit
dl
rm
README.pam_mkhomedir
1361
0644
edit
dl
rm
README.pam_motd
2588
0644
edit
dl
rm
README.pam_namespace
11543
0644
edit
dl
rm
README.pam_nologin
1348
0644
edit
dl
rm
README.pam_permit
907
0644
edit
dl
rm
README.pam_postgresok
346
0644
edit
dl
rm
README.pam_pwhistory
2243
0644
edit
dl
rm
README.pam_rhosts
1882
0644
edit
dl
rm
README.pam_rootok
1086
0644
edit
dl
rm
README.pam_securetty
1342
0644
edit
dl
rm
README.pam_selinux
2909
0644
edit
dl
rm
README.pam_sepermit
1648
0644
edit
dl
rm
README.pam_shells
653
0644
edit
dl
rm
README.pam_stress
2060
0644
edit
dl
rm
README.pam_succeed_if
2864
0644
edit
dl
rm
README.pam_time
1301
0644
edit
dl
rm
README.pam_timestamp
1616
0644
edit
dl
rm
README.pam_tty_audit
2779
0644
edit
dl
rm
README.pam_umask
1631
0644
edit
dl
rm
README.pam_unix
7265
0644
edit
dl
rm
README.pam_userdb
2973
0644
edit
dl
rm
README.pam_usertype
1200
0644
edit
dl
rm
README.pam_warn
1224
0644
edit
dl
rm
README.pam_wheel
1968
0644
edit
dl
rm
README.pam_xauth
3695
0644
edit
dl
rm
Edit:
/usr/share/doc/pam/txts/README.pam_succeed_if
(2864B)
pam_succeed_if — test account characteristics ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ DESCRIPTION pam_succeed_if.so is designed to succeed or fail authentication based on characteristics of the account belonging to the user being authenticated or values of other PAM items. One use is to select whether to load other modules based on this test. The module should be given one or more conditions as module arguments, and authentication will succeed only if all of the conditions are met. OPTIONS The following flags are supported: debug Turns on debugging messages sent to syslog. use_uid Evaluate conditions using the account of the user whose UID the application is running under instead of the user being authenticated. quiet Don't log failure or success to the system log. quiet_fail Don't log failure to the system log. quiet_success Don't log success to the system log. audit Log unknown users to the system log. Conditions are three words: a field, a test, and a value to test for. Available fields are user, uid, gid, shell, home, ruser, rhost, tty and service : field < number Field has a value numerically less than number. field <= number Field has a value numerically less than or equal to number. field eq number Field has a value numerically equal to number. field >= number Field has a value numerically greater than or equal to number. field > number Field has a value numerically greater than number. field ne number Field has a value numerically different from number. field = string Field exactly matches the given string. field != string Field does not match the given string. field =~ glob Field matches the given glob. 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. 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: auth required pam_succeed_if.so quiet user ingroup wheel 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... AUTHOR Nalin Dahyabhai <nalin@redhat.com>
Save
cmd:
run