Saltstack Official Users Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pillar.example 740B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. users:
  2. ## Minimal required pillar values
  3. auser:
  4. fullname: A User
  5. ## Full list of pillar values
  6. buser:
  7. fullname: B User
  8. password: $6$w.............
  9. home: /custom/buser
  10. sudouser: True
  11. sudo_rules:
  12. - ALL=(root) /usr/bin/find
  13. - ALL=(otheruser) /usr/bin/script.sh
  14. shell: /bin/bash
  15. prime_group:
  16. name: primarygroup
  17. gid: 500
  18. groups:
  19. - users
  20. ssh_key_type: rsa
  21. ssh_keys:
  22. privkey: PRIVATEKEY
  23. pubkey: PUBLICKEY
  24. ssh_auth:
  25. - PUBLICKEY
  26. ssh_auth.absent:
  27. - PUBLICKEY_TO_BE_REMOVED
  28. ## Absent user
  29. cuser:
  30. absent: True
  31. purge: True
  32. force: True
  33. ## Old syntax of absent_users still supported
  34. absent_users:
  35. - donald
  36. - bad_guy