diff --git a/linux/init.sls b/linux/init.sls index 9f01616..956fbbd 100644 --- a/linux/init.sls +++ b/linux/init.sls @@ -2,6 +2,24 @@ pkg.upgrade: module.run: - refresh: True +Installation de sudo: + pkg.installed: + - name: sudo + +iwanadm: + user.present: + - fullname: Iwan l'administrateur + - shell: /bin/bash + - home: /home/iwanadm + - createhome: True + - password: Gwladys+Ophelie+Aristide_ + - hash_password: True + - uid: 9876 + - gid_from_name: True + - optional_groups: + - wheel + - sudo + Installation des outils Net-tools: pkg.installed: - name: net-tools @@ -10,10 +28,6 @@ Installation de less: pkg.installed: - name: less -Installation de sudo: - pkg.installed: - - name: sudo - Installation du serveur SSH: pkg.installed: - name: openssh-server