-
Notifications
You must be signed in to change notification settings - Fork 32
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
Unable to modify pam module configuration using files in /etc/security #1474
Comments
It appears that the path is set here: https://github.com/linux-pam/linux-pam/blob/master/modules/pam_limits/pam_limits.c#L128 So presumably |
I believe we can maintain the current behavior by making the following changes.
|
It appears that using vendorsconfdir is only supported in |
Thanks for the report and the contribution! This change will be available in the next Alpha 🥳 |
Description
I am unable to modify pam configuration by using files in /etc/security/
For example, if i set
in
/etc/security/limits.conf
it is not respectedWhen I add
debug
to the pam_limits.so entry in/etc/pam.d/system-auth
I can see that the module is attempting to read the limits file from
/usr/lib/pam/limits.conf
Impact
This means a user is unable to modify pam module configuration
Environment and steps to reproduce
Expected behavior
We should be able to modifiy pam module configuration using the configuration files in
/etc/security/
Additional information
Please add any information here that does not fit the above format.
The text was updated successfully, but these errors were encountered: