- users:
-
- auser:
- fullname: A User
-
-
- buser:
- fullname: B User
- password: $6$w.............
- enforce_password: True
-
-
- empty_password: False
- hash_password: False
- system: False
- home: /custom/buser
- homedir_owner: buser
- homedir_group: primarygroup
- user_dir_mode: 750
- createhome: True
- roomnumber: "A-1"
- workphone: "(555) 555-5555"
- homephone: "(555) 555-5551"
- manage_vimrc: False
- manage_bashrc: False
- manage_profile: False
- expire: 16426
- sudouser: True
-
-
-
-
-
-
-
- sudo_rules:
- - ALL=(root) /usr/bin/find
- - ALL=(otheruser) /usr/bin/script.sh
- sudo_defaults:
- - '!requiretty'
- shell: /bin/bash
- remove_groups: False
- prime_group:
- name: primarygroup
- gid: 500
- groups:
- - users
- optional_groups:
- - some_groups_that_might
- - not_exist_on_all_minions
- ssh_key_type: rsa
-
- ssh_keys:
- privkey: PRIVATEKEY
- pubkey: PUBLICKEY
-
-
- ssh_keys_pillar:
- id_rsa: "ssh_keys"
- another_key_pair: "ssh_keys"
- ssh_auth:
- - PUBLICKEY
- ssh_auth.absent:
- - PUBLICKEY_TO_BE_REMOVED
-
-
- ssh_auth_file:
- - PUBLICKEY
-
- ssh_auth_pillar:
- id_rsa: "ssh_keys"
-
-
- ssh_auth_sources:
- - salt://keys/buser.id_rsa.pub
-
- ssh_known_hosts:
- importanthost:
- fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
- ssh_known_hosts.absent:
- - notimportanthost
- ssh_config:
- all:
- hostname: "*"
- options:
- - "StrictHostKeyChecking no"
- - "UserKnownHostsFile=/dev/null"
- importanthost:
- hostname: "needcheck.example.com"
- options:
- - "StrictHostKeyChecking yes"
-
-
-
-
- gitconfig:
- user.name: B User
- user.email: buser@example.com
- url."https://".insteadOf: "git://"
-
- google_2fa: True
- google_auth:
- ssh: |
- SOMEGAUTHHASHVAL
- " RESETTING_TIME_SKEW 46956472+2 46991595-2
- " RATE_LIMIT 3 30 1415800560
- " DISALLOW_REUSE 47193352
- " TOTP_AUTH
- 11111111
- 22222222
- 33333333
- 44444444
- 55555555
- uid: 1001
-
- user_files:
- enabled: True
-
-
-
- source: users/files/default
-
-
-
- file_mode: keep
- sym_mode: 640
-
-
- cuser:
- absent: True
- purge: True
- force: True
-
-
-
- absent_users:
- - donald
- - bad_guy
|