pam_env.so does not recursively read /etc/environment.d

Bug #1843886 reported by Thomas Schweikle
6
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
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)

Revision history for this message
Thomas Schweikle (tps) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.