pam_env.so does not recursively read /etc/environment.d
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pam (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu creates /etc/environment and directory /etc/environment.d.
pam_env.so only reads /etc/environment, but not recursively /etc/environment.d/
You'll have to add any files created within /etc/environment.d/ as an additional line to your pam_env.so pam configuration. This is not stated anywhere and not documented accordingly.
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: libpam-modules 1.3.1-5ubuntu1
ProcVersionSign
Uname: Linux 5.0.0-27-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Sep 13 12:55:41 2019
InstallationDate: Installed on 2019-09-09 (3 days ago)
InstallationMedia: Xubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: pam
UpgradeStatus: No upgrade log present (probably fresh install)