{"id":3137,"date":"2022-12-20T16:43:35","date_gmt":"2022-12-20T19:43:35","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/pam_timestamp_check-man8\/"},"modified":"2022-12-20T16:43:35","modified_gmt":"2022-12-20T19:43:35","slug":"pam_timestamp_check-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/pam_timestamp_check-man8\/","title":{"rendered":"PAM_TIMESTAMP_CHECK (man8)"},"content":{"rendered":"<h1 align=\"center\">PAM_TIMESTAMP_CHECK<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#RETURN VALUES\">RETURN VALUES<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">pam_timestamp_check \u2212 Check to see if the default timestamp is valid<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"66%\">\n<p style=\"margin-top: 1em\"><b>pam_timestamp_check<\/b> [\u2212k] [\u2212d] [<i>target_user<\/i>]<\/p>\n<\/td>\n<td width=\"23%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">With no arguments <b>pam_timestamp_check<\/b> will check to see if the default timestamp is valid, or optionally remove it.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212k<\/b><\/p>\n<p style=\"margin-left:17%;\">Instead of checking the validity of a timestamp, remove it. This is analogous to sudo&#8217;s <i>\u2212k<\/i> option.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212d<\/b><\/p>\n<p style=\"margin-left:17%;\">Instead of returning validity using an exit status, loop indefinitely, polling regularly and printing the status on standard output.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>target_user<\/i><\/p>\n<p style=\"margin-left:17%;\">By default <b>pam_timestamp_check<\/b> checks or removes timestamps generated by <i>pam_timestamp<\/i> when the user authenticates as herself. When the user authenticates as a different user, the name of the timestamp file changes to accommodate this. <i>target_user<\/i> allows to specify this user name.<\/p>\n<h2>RETURN VALUES <a name=\"RETURN VALUES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">0<\/p>\n<p style=\"margin-left:17%;\">The timestamp is valid.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">2<\/p>\n<p style=\"margin-left:17%;\">The binary is not setuid root.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">3<\/p>\n<p style=\"margin-left:17%;\">Invalid invocation.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">4<\/p>\n<p style=\"margin-left:17%;\">User is unknown.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">5<\/p>\n<p style=\"margin-left:17%;\">Permissions error.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">6<\/p>\n<p style=\"margin-left:17%;\">Invalid controlling tty.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">7<\/p>\n<p style=\"margin-left:17%;\">Timestamp is not valid.<\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">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.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:17%; margin-top: 1em\">auth sufficient pam_timestamp.so verbose <br \/> auth required pam_unix.so<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">session required pam_unix.so <br \/> session optional pam_timestamp.so<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/var\/run\/sudo\/&#8230;<\/p>\n<p style=\"margin-left:17%;\">timestamp files and directories<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pam_timestamp_check<\/b>(8), <b>pam.conf<\/b>(5), <b>pam.d<\/b>(5), <b>pam<\/b>(8)<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">pam_tally was written by Nalin Dahyabhai.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  pam_timestamp_check \u2212 Check to see if the default timestamp is valid <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,282],"class_list":["post-3137","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-pam_timestamp_check"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3137"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3137\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}