-
Notifications
You must be signed in to change notification settings - Fork 290
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
Quotes in pam_exec command #792
Comments
This should work for you:
The PAM configuration needs square brackets to take single arguments containing whitespaces, instead of single/double quotes you are used from bash. And don't forget that |
Thanks, will try! Just out of curiosity, are those square brackets a common pattern? Why did you chose brackets over quotes? |
I've seen this pattern when reading the code a few months ago: https://github.com/linux-pam/linux-pam/blob/master/libpam/pam_misc.c#L66 But it's also documented in |
works! thanks! |
I have set up this configuration line in
common-auth
:This, however, yields the error
To me, it seems like some parser is getting tangled up in quotes. Does anyone have an Idea on how to solve this?
The text was updated successfully, but these errors were encountered: