PAM_TIMESTAMP_CHECK(8)
๐ PAM_TIMESTAMP_CHECK ๐
okay bestie, welcome to the Linux-PAM Manual page for pam_timestamp_check(8) โ yes that's a section 8, we're in the admin/system zone, very grown-up of us โจ
๐ธ NAME ๐ธ
pam_timestamp_check โ check to see if the default timestamp is valid ๐
๐ฆ SYNOPSIS ๐ฆ
pam_timestamp_check [-k] [-d] [target_user]
โจ DESCRIPTION โจ
okay so with no arguments at all, pam_timestamp_check will check to see if the default timestamp is valid, or optionally remove it. that's it. that's the whole vibe. ๐
๐ OPTIONS ๐
-kโ instead of checking the validity of a timestamp, remove it. this is analogous to sudo's-koption. (iconic sibling behaviour, fr fr ๐ซถ)-dโ instead of returning validity using an exit status, this one just... loops. indefinitely. polling regularly and printing the status on standard output. main character energy, it literally never leaves. ๐target_userโ okay so by defaultpam_timestamp_checkchecks or removes timestamps generated bypam_timestampwhen users authenticate as themselves. but when the user authenticates as a different user, the name of the timestamp file changes to accommodate this. sotarget_userlets you specify this user name. ๐ฆ
๐ RETURN VALUES ๐
0โ the timestamp is valid. slay. โ2โ the binary is not setuid root. ๐ญ3โ invalid invocation.4โ user is unknown. who is she? ๐5โ permissions error.6โ invalid controlling tty.7โ timestamp is not valid.
๐ NOTES ๐
users can get confused when they are not always asked for passwords when running a given program. some users reflexively begin typing information before noticing that it is not being asked for. not me personally but like, i get it bestie ๐ญ
๐ EXAMPLES ๐
auth sufficient pam_timestamp.so verbose
auth required pam_unix.so
session required pam_unix.so
session optional pam_timestamp.so
๐ FILES ๐
/var/run/sudo/...โ timestamp files and directories
โญ SEE ALSO โญ
pam_timestamp_check(8), pam.conf(5), pam.d(5), pam(8)
๐ AUTHOR ๐
pam_timestamp was written by Nalin Dahyabhai. thank you for your service king ๐
ngl this page is giving "tiny tool, huge consequences" and i'm obsessed ๐
okay that's the whole thing bestie, ily, go check those timestamps โ this was the Linux-PAM manual, dated 09/27/2026, and yes the footer said PAM_TIMESTAMP_CHECK(8) again because manpages love a little repetition ๐ซถโจ
๐ฆ where this page comes from
- arch rolling: pam 1.7.3-1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms