Dear I have configured Virtualmin server for radius authentication for ssh access using free radius package and my radius authentication is working fine

Right now i want the server to use two authentication. Firstly Unix authentication Secondly Radius authentication

Everything is working fine and iam not sure about how to configure /etc/pam.d/sshd so that server accept unix password and after that it ask for radius password for authentication.

Thanks in advance

Hi. Does your radius server provide a pam module? Look at the existing configurations in Virtualmin’s pam configuration page, and see if you can’t sort it out. I expect you probably add the radius module under Authentication as required. Notice how the sshd service includes the common-auth service.

The answer may be in the radius documentation.