{"id":3230,"date":"2022-12-20T16:43:53","date_gmt":"2022-12-20T19:43:53","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/pam_timestamp-man8\/"},"modified":"2022-12-20T16:43:53","modified_gmt":"2022-12-20T19:43:53","slug":"pam_timestamp-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/pam_timestamp-man8\/","title":{"rendered":"PAM_TIMESTAMP (man8)"},"content":{"rendered":"<h1 align=\"center\">PAM_TIMESTAMP<\/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=\"#MODULE TYPES PROVIDED\">MODULE TYPES PROVIDED<\/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 \u2212 Authenticate using cached successful authentication attempts<\/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=\"89%\">\n<p style=\"margin-top: 1em\"><b>pam_timestamp.so<\/b> [timestampdir=<i>directory<\/i>] [timestamp_timeout=<i>number<\/i>] [verbose] [debug]<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">In a nutshell, <i>pam_timestamp<\/i> caches successful authentication attempts, and allows you to use a recent successful attempt as the basis for authentication. This is similar mechanism which is used in <b>sudo<\/b>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">When an application opens a session using <i>pam_timestamp<\/i>, a timestamp file is created in the <i>timestampdir<\/i> directory for the user. When an application attempts to authenticate the user, a <i>pam_timestamp<\/i> will treat a sufficiently recent timestamp file as grounds for succeeding.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>timestampdir=<\/b><i>directory<\/i><\/p>\n<p style=\"margin-left:17%;\">Specify an alternate directory where <i>pam_timestamp<\/i> creates timestamp files.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>timestamp_timeout=<\/b><i>number<\/i><\/p>\n<p style=\"margin-left:17%;\">How long should <i>pam_timestamp<\/i> treat timestamp as valid after their last modification date (in seconds). Default is 300 seconds.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>verbose<\/b><\/p>\n<p style=\"margin-left:17%;\">Attempt to inform the user when access is granted.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>debug<\/b><\/p>\n<p style=\"margin-left:17%;\">Turns on debugging messages sent to <b>syslog<\/b>(3).<\/p>\n<h2>MODULE TYPES PROVIDED <a name=\"MODULE TYPES PROVIDED\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>auth<\/b> and <b>session<\/b> module types are provided.<\/p>\n<h2>RETURN VALUES <a name=\"RETURN VALUES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_AUTH_ERR<\/p>\n<p style=\"margin-left:17%;\">The module was not able to retrieve the user name or no valid timestamp file was found.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_SUCCESS<\/p>\n<p style=\"margin-left:17%;\">Everything was successful.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">PAM_SESSION_ERR<\/p>\n<p style=\"margin-left:17%;\">Timestamp file could not be created or updated.<\/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\/pam_timestamp\/&#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_timestamp was written by Nalin Dahyabhai.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  pam_timestamp \u2212 Authenticate using cached successful authentication attempts <\/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,368],"class_list":["post-3230","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-pam_timestamp"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3230","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=3230"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3230\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}