This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/pam.d/system-auth | |
#%PAM-1.0 | |
# Jump two rules if login succeeds. | |
auth [success=2 default=ignore] pam_unix.so nullok_secure | |
auth optional pam_exec.so /home/pamcam.sh | |
auth requisite pam_deny.so | |
# User gets here if authentication is successful. No denying, no cam module. | |
auth required pam_unix.so try_first_pass nullok |