Skip to content
Snippets Groups Projects
Commit b40343dc authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Merge branch 'fix-pam-slurm-ssh' into 'main'

Fix issue with ssh due to pam-slurm config in sshd

Closes #51

See merge request rc/packer-openstack-hpc-image!25
parents 86417416 5fbcd656
No related branches found
No related tags found
No related merge requests found
......@@ -24,8 +24,8 @@
marker_begin: "BEGIN account"
marker_end: "END account"
block: |
"-account sufficient pam_slurm_adopt.so"
"account required pam_access.so"
-account sufficient pam_slurm_adopt.so
account required pam_access.so
- name: Update sshd pam file
blockinfile:
......@@ -36,7 +36,7 @@
marker_begin: "BEGIN session"
marker_end: "END session"
block: |
"session include password-auth-no-systemd"
session include password-auth-no-systemd
- name: Update secure access config for the node
lineinfile:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment