Skip to content

Commit 69f71fe

Browse files
authored
Use (group) syntax in access.conf (#804)
From access.conf(5): The second field, the users/group field, should be a list of one or more login names, group names, or ALL (which always matches). To differentiate user entries from group entries, group entries should be written with brackets, e.g. (group).
1 parent f351b9d commit 69f71fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ansible/roles/compute_init/files/compute-init.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@
346346
ansible.builtin.blockinfile:
347347
path: /etc/security/access.conf
348348
block: |
349-
+:adm:ALL
349+
+:(adm):ALL
350350
-:ALL:ALL
351351
352352
- name: Ensure slurmd service state

ansible/slurm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
ansible.builtin.blockinfile:
5151
path: /etc/security/access.conf
5252
block: |
53-
+:adm:ALL
53+
+:(adm):ALL
5454
-:ALL:ALL
5555
# vagrant uses (deprecated) ansible_ssh_user
5656

0 commit comments

Comments
 (0)