Explorar el Código

Merge pull request #104 from leifcr/leifcr-user-group-patch

Use the primary group for the user when creating authorized_keys
tags/v0.45.0
Forrest hace 9 años
padre
commit
741b256684
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      users/init.sls

+ 1
- 1
users/init.sls Ver fichero

@@ -195,7 +195,7 @@ users_authorized_keys_{{ name }}:
file.managed:
- name: {{ home }}/.ssh/authorized_keys
- user: {{ name }}
- group: {{ name }}
- group: {{ user_group }}
- mode: 600
{% if 'ssh_auth_file' in user %}
- contents: |

Cargando…
Cancelar
Guardar