Following this manual on centos6 I get error in /var/log/secure
radiusd: pam_unix(radiusd:auth): authentication failure; logname=admin uid=0 euid=0 tty= ruser= rhost= user=testuser
And radiusd -XXX return
Debug: pam_pass: using pamauth string <radiusd> for pam.conf lookup
Debug: pam_pass: function pam_authenticate FAILED for <testuser>. Reason: Authentication failure
Solution was to use this line in /etc/pam.d/radiusd
account required pam_unix.so try_first_pass
Instead of:
auth required pam_unix.so use_first_pass
↧
Re: Adding Two-Factor Authentication to FreeRADIUS
↧