pam_timestamp_check - check or clear authentication timestamps
pam_timestamp_check [[-d]|[-k]] [target_user]
With no arguments,
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
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.
When checking if a timestamp is valid,
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