Default configuration files should be placed in /usr/lib/pam.d and NOT /etc/pam.d
Task Info (Flyspray) | |
---|---|
Opened By | AMM (amish) |
Task ID | 61790 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Core |
Version | None |
OS | All |
Opened | 2019-02-17 05:40:35 UTC |
Status | Assigned |
Assignee | David Runge (dvzrv) |
Assignee | Levente Polyak (anthraxx) |
Details
Description: From PAM manpage (man pam):
FILES /etc/pam.d: the Linux-PAM configuration directory. Generally, if this directory is present, the /etc/pam.conf file is ignored. /usr/lib/pam.d: the Linux-PAM vendor configuration directory. Files in /etc/pam.d override files with the same name in this directory.
So the PAM configuration files that are shipped by Arch repositories should be placed in /usr/lib/pam.d and then administrator can modify settings by placing file with same name in /etc/pam.d
This is also behavior for many known packages (for e.g systemd) where vendor specific files are placed in /usr and administrator can customize it in /etc without modifying the default configuration.
This will also simplify package upgrades without leaving behind .pac{new,save} files
Additional info:
-
package version(s) All packages obtained via "pacman -Qo /etc/pam.d"
-
config and/or log files etc. As above
Please consider the change. Thanks.