Linux-PAM_SAG.txt (Linux-PAM-1.5.0-docs.tar.xz) | : | Linux-PAM_SAG.txt (Linux-PAM-1.5.1-docs.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 1956 | skipping to change at line 1956 | |||
User locked out in the auth or account phase due to inactivity. | User locked out in the auth or account phase due to inactivity. | |||
PAM_IGNORE | PAM_IGNORE | |||
There was an error during reading the lastlog file in the auth or account | There was an error during reading the lastlog file in the auth or account | |||
phase and thus inactivity of the user cannot be determined. | phase and thus inactivity of the user cannot be determined. | |||
6.13.5. EXAMPLES | 6.13.5. EXAMPLES | |||
Add the following line to /etc/pam.d/login to display the last login time of an | Add the following line to /etc/pam.d/login to display the last login time of a | |||
user: | user: | |||
session required pam_lastlog.so nowtmp | session required pam_lastlog.so nowtmp | |||
To reject the user if he did not login during the previous 50 days the | To reject the user if he did not login during the previous 50 days the | |||
following line can be used: | following line can be used: | |||
auth required pam_lastlog.so inactive=50 | auth required pam_lastlog.so inactive=50 | |||
6.13.6. AUTHOR | 6.13.6. AUTHOR | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |