Hello!
for a project, I need to set up a horizon farm with a dual authentication system.
for that I set up a system with freeradius and google-authenticator.
not liking the system where you have to specify the password followed by the google code I wanted to make some changes.
I managed to make the first request google code and the second the user password.
but for the first step I have an error like this:
but I manage to move on to the next step and if I type bad code it blocks me as it is supposed to do.
this type of error occurred when playing with the file "/etc/pam.d/radiusd", here are the different configurations made on it:
#%PAM-1.0
#auth required pam_google_authenticator.so forward_pass
#auth include password-auth
#account required pam_nologin.so
#account include password-auth
#password include password-auth
#session include password-auth
#auth required pam_google_authenticator.so
#auth requisite pam_google_authenticator.so forward_pass
#auth required pam_unix.so use_first_pass
auth sufficient pam_google_authenticator.so
auth include password-auth
account required pam_nologin.so
account include password-auth
the mistake must be caused, I suppose, by a configuration made in it, but I'm not sure about it.
if you need other information I will make sure you send them.
in advance thank you for your help
Have a good day