linux:salt-stack:add_bofher_user
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux:salt-stack:add_bofher_user [2022/02/11 11:36] – external edit 127.0.0.1 | linux:salt-stack:add_bofher_user [2022/03/01 13:52] (current) – removed dodger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== [SLS] Add bofher user ====== | ||
- | |||
- | ^ Documentation | ||
- | ^Name:| [SLS] Add bofher user | | ||
- | ^Description: | ||
- | ^Modification date : | ||
- | ^Owner: | ||
- | ^Notify changes to:|Owner | | ||
- | ^Tags:| salt, cloud-init | | ||
- | |||
- | |||
- | ====== Update keys ====== | ||
- | |||
- | Keys must be up-to-date on: | ||
- | [[documentation: | ||
- | Then on salt-master: | ||
- | <code bash> | ||
- | cd / | ||
- | curl -k " | ||
- | </ | ||
- | |||
- | ====== Apply state ====== | ||
- | |||
- | <code bash> | ||
- | salt ' | ||
- | </ | ||
- | |||
- | |||
- | ====== Sample run ====== | ||
- | <code bash> | ||
- | avmlm-salt-001 / | ||
- | acclp-psql-001: | ||
- | ---------- | ||
- | cmd_|-add_to_sudoers_|-echo ' | ||
- | ---------- | ||
- | __run_num__: | ||
- | 1 | ||
- | changes: | ||
- | ---------- | ||
- | pid: | ||
- | 60313 | ||
- | retcode: | ||
- | 0 | ||
- | stderr: | ||
- | stdout: | ||
- | comment: | ||
- | Command "echo ' | ||
- | duration: | ||
- | 6.51 | ||
- | name: | ||
- | echo ' | ||
- | result: | ||
- | True | ||
- | start_time: | ||
- | 12: | ||
- | file_|-/ | ||
- | ---------- | ||
- | __run_num__: | ||
- | 3 | ||
- | changes: | ||
- | ---------- | ||
- | diff: | ||
- | New file | ||
- | group: | ||
- | bofher | ||
- | user: | ||
- | bofher | ||
- | comment: | ||
- | File / | ||
- | duration: | ||
- | 15.568 | ||
- | name: | ||
- | / | ||
- | result: | ||
- | True | ||
- | start_time: | ||
- | 12: | ||
- | file_|-/ | ||
- | ---------- | ||
- | __run_num__: | ||
- | 2 | ||
- | changes: | ||
- | ---------- | ||
- | / | ||
- | New Dir | ||
- | comment: | ||
- | Directory / | ||
- | duration: | ||
- | 13.002 | ||
- | name: | ||
- | / | ||
- | result: | ||
- | True | ||
- | start_time: | ||
- | 12: | ||
- | user_|-bofher_|-bofher_|-present: | ||
- | ---------- | ||
- | __run_num__: | ||
- | 0 | ||
- | changes: | ||
- | ---------- | ||
- | fullname: | ||
- | gid: | ||
- | 1000 | ||
- | groups: | ||
- | - bofher | ||
- | home: | ||
- | / | ||
- | homephone: | ||
- | name: | ||
- | bofher | ||
- | passwd: | ||
- | x | ||
- | roomnumber: | ||
- | shell: | ||
- | /bin/bash | ||
- | uid: | ||
- | 1000 | ||
- | workphone: | ||
- | comment: | ||
- | New user bofher created | ||
- | duration: | ||
- | 52.187 | ||
- | name: | ||
- | bofher | ||
- | result: | ||
- | True | ||
- | start_time: | ||
- | 12: | ||
- | |||
- | </ | ||
- | |||
- | |||
linux/salt-stack/add_bofher_user.1644579408.txt.gz · Last modified: 2022/02/11 11:36 by 127.0.0.1