doc: updated README
This commit is contained in:
@@ -8,7 +8,6 @@ URL: https://xpk.headdesk.me/git/xpk/role.users
|
|||||||
user:
|
user:
|
||||||
name: john
|
name: john
|
||||||
group: clientadmin
|
group: clientadmin
|
||||||
pwhash: sha512 hash
|
|
||||||
sudoers: yes/no
|
sudoers: yes/no
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -25,17 +24,9 @@ Create a playbook like this
|
|||||||
user:
|
user:
|
||||||
name: user1
|
name: user1
|
||||||
group: staff
|
group: staff
|
||||||
pwhash: "$6$fqpO..."
|
|
||||||
sudoers: yes
|
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
|
## Tested on
|
||||||
- RHEL7
|
- RHEL7
|
||||||
- CentOS7
|
- CentOS7
|
||||||
|
|||||||
Reference in New Issue
Block a user