Update custom user role
This commit is contained in:
parent
fb017565f4
commit
90855de87a
7 changed files with 56 additions and 48 deletions
12
README.md
12
README.md
|
|
@ -53,15 +53,9 @@ When logged in the user will be prompted with the **zsh** configured with **[Oh
|
|||

|
||||
|
||||
## Other
|
||||
### Creating users with the `singleplatform-eng.users` role
|
||||
See the documentation [here](https://galaxy.ansible.com/ui/standalone/roles/singleplatform-eng/users/documentation/). The `password` setting for users states that a hash should be provided.
|
||||
This hash should be stored within an ansible vault and can be generated with the following command:
|
||||
|
||||
```bash
|
||||
# Enter the password after which the hash will be printed
|
||||
mkpasswd -m sha512crypt
|
||||
```
|
||||
|
||||
### Debugging users other than the main user
|
||||
The **user** role included in this repository makes it possible to create new users which will also have a fully configured
|
||||
ZSH environment. They can't be accessed via SSH because no SSH keys are added for them and password logins are disabled.
|
||||
Logging into the new user's account can be done as follows (for testing and debugging):
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue