Not admins
This commit is contained in:
@@ -20,6 +20,6 @@ AristideUser:
|
|||||||
- sambashare
|
- sambashare
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif grains['os_family'] == 'RedHat' %}
|
{% elif grains['os_family'] == 'RedHat' %}
|
||||||
- wheel
|
# - wheel
|
||||||
- printadmin
|
- printadmin
|
||||||
{% endif %}
|
{% endif %}
|
||||||
25
Users/nadine.sls
Normal file
25
Users/nadine.sls
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
include:
|
||||||
|
- softwares.sudo
|
||||||
|
|
||||||
|
NadineUser:
|
||||||
|
user.present:
|
||||||
|
- name: nadine
|
||||||
|
- fullname: Nadine Clement
|
||||||
|
- uid: 5829
|
||||||
|
- shell: /bin/bash
|
||||||
|
# - hash_password: True
|
||||||
|
# - password: Monpremiermotdepasse
|
||||||
|
- empty_password: True
|
||||||
|
- optional_groups:
|
||||||
|
- vboxusers
|
||||||
|
{% if grains['os_family'] == 'Debian' %}
|
||||||
|
{% if grains['os']== "Ubuntu" %}
|
||||||
|
- cdrom
|
||||||
|
- dip
|
||||||
|
- plugdev
|
||||||
|
- sambashare
|
||||||
|
{% endif %}
|
||||||
|
{% elif grains['os_family'] == 'RedHat' %}
|
||||||
|
# - wheel
|
||||||
|
- printadmin
|
||||||
|
{% endif %}
|
||||||
Reference in New Issue
Block a user