doc: updated README
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user