1PAM_TIMESTAMP(8)               Linux-PAM Manual               PAM_TIMESTAMP(8)
2
3
4

NAME

6       pam_timestamp - Authenticate using cached successful authentication
7       attempts
8

SYNOPSIS

10       pam_timestamp.so [timestampdir=directory] [timestamp_timeout=number]
11                        [verbose] [debug]
12

DESCRIPTION

14       In a nutshell, pam_timestamp caches successful authentication attempts,
15       and allows you to use a recent successful attempt as the basis for
16       authentication. This is similar mechanism which is used in sudo.
17
18       When an application opens a session using pam_timestamp, a timestamp
19       file is created in the timestampdir directory for the user. When an
20       application attempts to authenticate the user, a pam_timestamp will
21       treat a sufficiently recent timestamp file as grounds for succeeding.
22

OPTIONS

24       timestampdir=directory
25           Specify an alternate directory where pam_timestamp creates
26           timestamp files.
27
28       timestamp_timeout=number
29           How long should pam_timestamp treat timestamp as valid after their
30           last modification date (in seconds). Default is 300 seconds.
31
32       verbose
33           Attempt to inform the user when access is granted.
34
35       debug
36           Turns on debugging messages sent to syslog(3).
37

MODULE TYPES PROVIDED

39       The auth and session module types are provided.
40

RETURN VALUES

42       PAM_AUTH_ERR
43           The module was not able to retrieve the user name or no valid
44           timestamp file was found.
45
46       PAM_SUCCESS
47           Everything was successful.
48
49       PAM_SESSION_ERR
50           Timestamp file could not be created or updated.
51

NOTES

53       Users can get confused when they are not always asked for passwords
54       when running a given program. Some users reflexively begin typing
55       information before noticing that it is not being asked for.
56

EXAMPLES

58           auth sufficient pam_timestamp.so verbose
59           auth required   pam_unix.so
60
61           session required pam_unix.so
62           session optional pam_timestamp.so
63
64

FILES

66       /var/run/pam_timestamp/...
67           timestamp files and directories
68

SEE ALSO

70       pam_timestamp_check(8), pam.conf(5), pam.d(5), pam(8)
71

AUTHOR

73       pam_timestamp was written by Nalin Dahyabhai.
74
75
76
77Linux-PAM                         05/07/2023                  PAM_TIMESTAMP(8)
Impressum