Saltstack Official Users Formula
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

59 lines
1.1KB

  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. createhome: True
  11. expire: 16426
  12. sudouser: True
  13. sudo_rules:
  14. - ALL=(root) /usr/bin/find
  15. - ALL=(otheruser) /usr/bin/script.sh
  16. shell: /bin/bash
  17. prime_group:
  18. name: primarygroup
  19. gid: 500
  20. groups:
  21. - users
  22. ssh_key_type: rsa
  23. ssh_keys:
  24. privkey: PRIVATEKEY
  25. pubkey: PUBLICKEY
  26. ssh_auth:
  27. - PUBLICKEY
  28. ssh_auth.absent:
  29. - PUBLICKEY_TO_BE_REMOVED
  30. # Generates an authorized_keys file for the user
  31. # with the given keys
  32. ssh_auth_file:
  33. - PUBLICKEY
  34. google_auth:
  35. ssh: |
  36. SOMEGAUTHHASHVAL
  37. " RESETTING_TIME_SKEW 46956472+2 46991595-2
  38. " RATE_LIMIT 3 30 1415800560
  39. " DISALLOW_REUSE 47193352
  40. " TOTP_AUTH
  41. 11111111
  42. 22222222
  43. 33333333
  44. 44444444
  45. 55555555
  46. ## Absent user
  47. cuser:
  48. absent: True
  49. purge: True
  50. force: True
  51. ## Old syntax of absent_users still supported
  52. absent_users:
  53. - donald
  54. - bad_guy