Skip to content
Snippets Groups Projects
Commit 7d097878 authored by Chris Hines's avatar Chris Hines
Browse files

Add pam_slurm_adopt for ubuntu nodes

parent 59996c01
No related branches found
No related tags found
3 merge requests!520Add pam_slurm_adopt for ubuntu nodes,!518modifications to playbooks because 1. we're not using ldap 2. we're mounting...,!513modifications to playbooks because 1. we're not using ldap 2. we're mounting...
...@@ -22,6 +22,12 @@ ...@@ -22,6 +22,12 @@
become_user: root become_user: root
when: computenodepam is defined and computenodepam and ansible_os_family=="Debian" when: computenodepam is defined and computenodepam and ansible_os_family=="Debian"
- name: "Copy computenode password sshd pam config"
template: src=common-session_ubuntu.j2 dest=/etc/pam.d/common-session
become: true
become_user: root
when: computenodepam is defined and computenodepam and ansible_os_family=="Debian"
- name: "Copy computenode password sshd pam config" - name: "Copy computenode password sshd pam config"
template: src=computenodes_sshd_centos.j2 dest=/etc/pam.d/sshd template: src=computenodes_sshd_centos.j2 dest=/etc/pam.d/sshd
become: true become: true
......
...@@ -15,6 +15,8 @@ account required pam_nologin.so ...@@ -15,6 +15,8 @@ account required pam_nologin.so
# Standard Un*x authorization. # Standard Un*x authorization.
@include common-account @include common-account
-account sufficient pam_slurm_adopt.so
account required pam_access.so
# SELinux needs to be the first session rule. This ensures that any # SELinux needs to be the first session rule. This ensures that any
# lingering context has been cleared. Without this it is possible that a # lingering context has been cleared. Without this it is possible that a
......
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