Skip to content

Commit 06fab1d

Browse files
authored
Merge pull request ClickHouse#80157 from ClickHouse/Blargian-patch-14
Docs: fix rendering issue on users and roles settings page
2 parents 67ae7f6 + f4a40e5 commit 06fab1d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/en/operations/settings/settings-users.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ Password can be specified in plaintext or in SHA256 (hex format).
8080

8181
Example of how to generate a password from shell:
8282

83-
PASSWORD=$(base64 < /dev/urandom | head -c8); echo "$PASSWORD"; echo -n "$PASSWORD" | sha256sum | tr -d '-'
83+
```bash
84+
PASSWORD=$(base64 < /dev/urandom | head -c8); echo "$PASSWORD"; echo -n "$PASSWORD" | sha256sum | tr -d '-'
85+
```
8486

8587
The first line of the result is the password. The second line is the corresponding SHA256 hash.
8688

@@ -92,7 +94,9 @@ Password can be specified in plaintext or in SHA256 (hex format).
9294

9395
Example of how to generate a password from shell:
9496

95-
PASSWORD=$(base64 < /dev/urandom | head -c8); echo "$PASSWORD"; echo -n "$PASSWORD" | sha1sum | tr -d '-' | xxd -r -p | sha1sum | tr -d '-'
97+
```bash
98+
PASSWORD=$(base64 < /dev/urandom | head -c8); echo "$PASSWORD"; echo -n "$PASSWORD" | sha1sum | tr -d '-' | xxd -r -p | sha1sum | tr -d '-'
99+
```
96100

97101
The first line of the result is the password. The second line is the corresponding double SHA1 hash.
98102

@@ -101,6 +105,7 @@ Password can be specified in plaintext or in SHA256 (hex format).
101105
This setting allows authenticating with SSH keys.
102106

103107
Given a SSH key (as generated by `ssh-keygen`) like
108+
104109
```text
105110
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDNf0r6vRl24Ix3tv2IgPmNPO2ATa2krvt80DdcTatLj [email protected]
106111
```

0 commit comments

Comments
 (0)