Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863884 - sys-auth/pambase: /etc/pam.d/runuser includes pam_env.so twice
Summary: sys-auth/pambase: /etc/pam.d/runuser includes pam_env.so twice
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-06 05:56 UTC by Michael Jones
Modified: 2022-08-07 10:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jones 2022-08-06 05:56:00 UTC
/etc/pam.d/runuser
auth       sufficient   pam_rootok.so
auth       required     pam_wheel.so use_uid
auth       include              system-auth
account    include              system-auth
password   include              system-auth
session    include              system-auth
session    required     pam_env.so
session    optional             pam_xauth.so



Notice the session block includes pam_env.so after it imports from system-auth.

system-auth 's session block always starts with

session		required	pam_limits.so
session		required	pam_env.so

in the template file from pambase https://github.com/gentoo/pambase/blob/master/templates/system-session.tpl

Reproducible: Always