forked from lix-project/hydra
Docs: use hydra-create-user --password-prompt
This commit is contained in:
parent
0eeced7f08
commit
da1af1ce68
|
@ -28,7 +28,7 @@ Once the Hydra service has been configured as above and activate you should alre
|
|||
```
|
||||
$ su - hydra
|
||||
$ hydra-create-user <USER> --full-name '<NAME>' \
|
||||
--email-address '<EMAIL>' --password <PASSWORD> --role admin
|
||||
--email-address '<EMAIL>' --password-prompt --role admin
|
||||
```
|
||||
|
||||
Afterwards you should be able to log by clicking on "_Sign In_" on the top right of the web interface using the credentials specified by `hydra-create-user`. Once you are logged in you can click "_Admin -> Create Project_" to configure your first project.
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* Creating a user:
|
||||
|
||||
$ hydra-create-user root --email-address 'e.dolstra@tudelft.nl' \
|
||||
--password-hash "$(echo -n foobar | sha1sum | cut -c1-40)"
|
||||
--password-prompt
|
||||
|
||||
(Replace "foobar" with the desired password.)
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ This can be done using the command `hydra-create-user`:
|
|||
|
||||
```console
|
||||
$ hydra-create-user alice --full-name 'Alice Q. User' \
|
||||
--email-address 'alice@example.org' --password foobar --role admin
|
||||
--email-address 'alice@example.org' --password-prompt --role admin
|
||||
```
|
||||
|
||||
Additional users can be created through the web interface.
|
||||
|
|
Loading…
Reference in a new issue