doc: updated README

This commit is contained in:
xpk
2019-02-20 17:40:16 +08:00
parent 83e9f4dc5d
commit 5d35ee84d3
-9
View File
@@ -8,7 +8,6 @@ URL: https://xpk.headdesk.me/git/xpk/role.users
user:
name: john
group: clientadmin
pwhash: sha512 hash
sudoers: yes/no
```
@@ -25,17 +24,9 @@ Create a playbook like this
user:
name: user1
group: staff
pwhash: "$6$fqpO..."
sudoers: yes
```
## How to generate pwhash
```mkpasswd -m sha-512```
Or genpw.py which generates random password and a hash at the same time.
## Tested on
- RHEL7
- CentOS7