Skip to content

Commit d52f109

Browse files
committed
Requested changes
Signed-off-by: Antonio Jesus Navarro Perez <[email protected]>
1 parent 9d702db commit d52f109

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/using-gitbase/security.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
## User credentials
44

5-
User credentials can be specified in the command line or using a user file. For a single user this can be done with parameters `--user` and `--password`:
5+
User credentials can be specified in the command line or in the user file. For a single user this can be done with parameters `--user` and `--password`:
66

77
```
88
gitbase server --user root --password r00tp4ssword! -d /my/repositories/path
99
```
1010

11-
If you want to have more than one user or not having the password in plain text you can use a user file with the following format:
11+
If you want to have more than one user or not having the password in plain text, then the user file can be useful. You can keep passwords, permissions and user names in the following format:
1212

1313
```json
1414
[
@@ -24,7 +24,7 @@ If you want to have more than one user or not having the password in plain text
2424
]
2525
```
2626

27-
You can use a hashed or plain text password. Hashed version uses the same format as MySQL 5.x passwords. You can generate the native password with this command, remember to prefix the hash with `*`:
27+
You can either specify passwords as a plain text or hashed. Hashed version uses the same format as MySQL 5.x passwords. You can generate the native password with this command, remember to prefix the hash with `*`:
2828

2929
```
3030
echo -n password | openssl sha1 -binary | openssl sha1 | tr '[:lower:]' '[:upper:]'

0 commit comments

Comments
 (0)