Configuring PAM Authenticator for logging in via Password
-
Download the PAM.So file from https://authnull.com/downloads.
-
The above step would have generated
pam_authenticator.so
in this location/usr/local/lib/security/pam_authenticator.so
-
For Password authentication, Please add the below lines to
/etc/pam.d/common-auth
auth required /usr/local/lib/security/pam_authenticator.so auth required pam_permit.so
-
Now login to the VM using su
su tempadminmfa
i. Please enter the password for user tempadminmfa
ii. DID Authentication will initiate → please check
/ var/log/auth.log
iii.Once the authentication completes, the user can be logged in.
iv. In case of failure, the authentication denies.