Saltstack Official Users Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 11 години
преди 11 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 10 години
преди 11 години
преди 11 години
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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