Closed pfuntner closed 3 years ago
Files identified in the description: None
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @kevensen click here for bot help
@pfuntner Thanks for reporting this issue. pamd
module does not handle authselect
template files. You need to modify /etc/pam.d/system-auth
after you do theauthselect select sssd
command.
I will update the docs stating this explicitly.
Summary
The
pamd
module is unable to parseauthselect
templates for pamd files.If
authselect
is used on an RedHat 8 or CentOS 8 (EL8) target system, files such as/etc/pam.d/system-auth
are not supposed to be updated directly./etc/pam.d/system-auth
is generated byauthselect
and updates should be done to a template such as/usr/share/authselect/default/sssd/system-auth
. The templates use a meta-language to include or exclude statements based on features selected whenauthselect
is used to generate files in/etc/pam.d/
:Updating the templates allows the administrator to easily switch between profiles and features.
This is essentially the same problem as Ansible issue #65659 which was closed in preparation for collections restructuring.
Issue Type
Bug Report
Component Name
pamd
Ansible Version
Configuration
OS / Environment
CentOS 8.2
kernel: 4.18.0-193.6.3.el8_2.x86_64
Steps To Reproduce
ansible-playbook pamd-and-authselect.yml
Expected Results
/etc/pam.d
files)Actual Results