Skip to content

Add with-pam-timestamp feature to default profiles #430

Open

Description

@zombiepigdragon

pam_timestamp is a module that allows for temporary credential-based authorization caching (in the same manner that sudo caches authorizations) for arbitrary PAM-compatible applications. Adding a feature for this to the default profiles seems like it should be relatively straightforward- if nobody jumps on this before I get around to it, I will likely attempt to PR the feature myself.

Full disclosure: I have not actually tested this module yet; I immediately jumped onto looking to see if authselect supported it natively due to not having very much time available when discovering the module exists.

If I understand this repository and the module correctly, the change to implement this should be as simple as adding these two lines on the correct lines of the appropriate files, going by the man page linked above:

auth sufficient pam_timestamp.so verbose {include if "with-pam-timestamp"}

session optional pam_timestamp.so {include if "with-pam-timestamp"}

Activity

  1. pbrezina commented on May 26, 2026

    @pbrezina
    Member

    Hi, you are the first requesting this module and you claim you did not even try it. I'll definitely wait for more users to want this before adding it in :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions