Skip to content

Commit

Permalink
changed /etc/pam.d/sshd to show motd
Browse files Browse the repository at this point in the history
  • Loading branch information
stephandooper committed Dec 9, 2023
1 parent f992fa6 commit ea4878d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/slurm/tasks/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@
-account sufficient {{ slurm_pam_lib_dir }}/pam_slurm_adopt.so action_no_jobs=ignore
-account sufficient pam_listfile.so item=user sense=allow file=/etc/localusers
-account required {{ slurm_pam_lib_dir }}/pam_slurm_adopt.so
session optional pam_motd.so motd=/run/motd.dynamic
session optional pam_motd.so noupdate
insertafter: EOF
marker: "# {mark} ANSIBLE MANAGED BLOCK (ansible-role-slurm)"
tags:
Expand Down

0 comments on commit ea4878d

Please sign in to comment.