Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Specify a single script directly #14

Open
matthijskooijman opened this issue Aug 29, 2019 · 0 comments
Open

Feature request: Specify a single script directly #14

matthijskooijman opened this issue Aug 29, 2019 · 0 comments

Comments

@matthijskooijman
Copy link

I'm using this script to run a single script, just in the auth department, to check if the current session is locked.

Doing so currently involves creating a directory with a single script inside, which has to have a predefined name (pam_script_auth). It would be nicer if I could just use any arbitrary script, and pass its name to the module instead. e.g. something like:

auth required pam_script.so script=/etc/pam.d/is-current-session-locked.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant