Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- users:
- backuppc:
- fullname: BackupPC Service
- password: '*'
- enforce_password: True
- empty_password: False
- hash_password: False
- sudouser: True
- sudo_rules:
- - ALL = NOPASSWD:/usr/bin/rsync, /bin/tar
- {% if grains['os_family'] == 'FreeBSD' -%}
- shell: /usr/local/bin/bash
- {% else -%}
- shell: /bin/bash
- {% endif -%}
- prime_group:
- name: nogroup
- ssh_auth_sources:
- - salt://users/files/backuppc/backuppc.pub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement