]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
share/ansible/: create the newusers PAM service file
authorIker Pedrosa <ipedrosa@redhat.com>
Fri, 8 Aug 2025 14:20:59 +0000 (16:20 +0200)
committerSerge Hallyn <serge@hallyn.com>
Fri, 5 Dec 2025 22:35:36 +0000 (16:35 -0600)
Temporary workaround to create the newusers PAM service file. Fedora
will soon provide this service file and we'll be able to remove the
workaround.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
share/ansible/roles/ci_run/tasks/fedora.yml

index b1bf6e742228aee0bfa77893938ac3ccad7c0d21..b926afe2893d1a8dca3b0c8c3f4fb586ced23c92 100644 (file)
   register: dnf_result
   changed_when: '"Nothing to do" not in dnf_result.stdout'
 
+- name: Temporary workaround to create the newusers PAM service file
+  ansible.builtin.copy:
+    src: /etc/pam.d/chfn
+    dest: /etc/pam.d/newusers
+    remote_src: yes
+    owner: root
+    group: root
+    mode: '0644'
+
 - name: Build configuration
   ansible.builtin.command: >
     ./autogen.sh