Ajouter 'linux/MesAdmins.sls'

This commit is contained in:
Iwan Clément
2018-02-19 19:15:59 +00:00
parent ce34b0206c
commit b423728546

14
linux/MesAdmins.sls Normal file
View File

@@ -0,0 +1,14 @@
Mise en place d'un administrateur universel:
user.present:
- name: {{ pillar['superadmusr'] }}
- fullname: {{ pillar['superadmfn'] }}
- shell: /bin/bash
- home: /home/{{ pillar['superadmusr'] }}
- createhome: True
- password: {{ pillar['superadmpwd'] }}
- hash_password: True
- uid: 9876
- gid_from_name: True
- optional_groups:
- wheel
- sudo