pam_timestamp_check(8) -- Linux man page
NAMEpam_timestamp_check - check or clear authentication timestamps
SYNOPSISpam_timestamp_check [[-d]|[-k]] [target_user]
DESCRIPTIONWith no arguments, pam_timestamp_check will check to see if the default timestamp is valid, or optionally remove it.
- instead of checking the validity of a timestamp, remove it. This is analogous to sudo's -k option.
- Instead of returning validity using an exit status, loop indefinitely, polling regularly and printing the status on standard output.
The default behavior of
checks or removes timestamps generated by
when the user authenticates as herself. When the user authenticates as a
different user, the name of the timestamp file changes to accomodate this.
DIAGNOSTICSWhen checking if a timestamp is valid, pam_timestamp_check returns an exit code of 0 for success and > 0 on error:
2: binary is not setuid-root 3: invalid invocation 4: user unknown 5: permissions error 6: invalid controlling tty 7: other error
BUGSLet's hope not, but if you find any, please email the author.
AUTHORNalin Dahyabhai <email@example.com>