Not admins

This commit is contained in:
Iwan Clément
2018-12-30 10:59:50 +01:00
parent 99a53316b3
commit 1bc98216a4
2 changed files with 26 additions and 1 deletions

View File

@@ -20,6 +20,6 @@ AristideUser:
- sambashare
{% endif %}
{% elif grains['os_family'] == 'RedHat' %}
- wheel
# - wheel
- printadmin
{% endif %}

25
Users/nadine.sls Normal file
View 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 %}