maintainer-test: fix mock PAM config
The mock pam.d file, added in 07709f793
("lineinfile is evil",
2018-05-27), was missing a '#' on the '%PAM-1.0' line. This causes parse
errors and prevents consolehelper from properly allowing users in the
mock group to execute mock without the root password.
The following error is logged in /var/log/secure when attempting to run
mock:
Jul 28 14:11:28 arm03-packager01 userhelper[325]: PAM (mock) illegal module type: %PAM-1.0
Jul 28 14:11:28 arm03-packager01 userhelper[325]: PAM (mock) no control flag supplied
Jul 28 14:11:28 arm03-packager01 userhelper[325]: PAM (mock) no module name supplied
This commit is contained in:
parent
d92dcc90c6
commit
ea5ab7b453
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
%PAM-1.0
|
||||
#%PAM-1.0
|
||||
auth sufficient pam_rootok.so
|
||||
auth sufficient pam_succeed_if.so user ingroup mock use_uid quiet
|
||||
# Uncomment the following line to implicitly trust users in the "wheel" group.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue