diff options
Diffstat (limited to 'src/pam-configs/radius')
-rw-r--r-- | src/pam-configs/radius | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/pam-configs/radius b/src/pam-configs/radius new file mode 100644 index 000000000..0e2c71e38 --- /dev/null +++ b/src/pam-configs/radius @@ -0,0 +1,20 @@ +Name: RADIUS authentication +Default: yes +Priority: 257 +Auth-Type: Primary +Auth: + [default=ignore success=1] pam_succeed_if.so uid eq 1001 quiet + [default=ignore success=ignore] pam_succeed_if.so uid eq 1002 quiet + [authinfo_unavail=ignore success=end default=ignore] pam_radius_auth.so + +Account-Type: Primary +Account: + [default=ignore success=1] pam_succeed_if.so uid eq 1001 quiet + [default=ignore success=ignore] pam_succeed_if.so uid eq 1002 quiet + [authinfo_unavail=ignore success=end perm_denied=bad default=ignore] pam_radius_auth.so + +Session-Type: Additional +Session: + [default=ignore success=1] pam_succeed_if.so uid eq 1001 quiet + [default=ignore success=ignore] pam_succeed_if.so uid eq 1002 quiet + [authinfo_unavail=ignore success=ok default=ignore] pam_radius_auth.so |