Skip to content

Commit 6405ebb

Browse files
author
Grigory Ponomarenko
committed
LU-3705: Make cldiag accept no UsePAM setting in sshd in CL9
1 parent 16649e2 commit 6405ebb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/command-line_tools/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3134,11 +3134,15 @@ Fails if CageFS is not enabled for suphp binary.
31343134
31353135
#### check-usepam
31363136
3137-
Checks UsePAM in <span class="notranslate">`/etc/ssh/sshd_config`</span>.
3137+
Checks usepam setting in <span class="notranslate">`sshd -T`</span> output.
31383138
3139-
Checking if <span class="notranslate">`/etc/ssh/sshd_config`</span> config file contains <span class="notranslate">`UsePAM yes`</span> line, which is required for pam_lve correct work with sshd.
3139+
Checking if <span class="notranslate">`sshd -T`</span> output contains <span class="notranslate">`usepam yes`</span> line, which is required for pam_lve correct work with sshd.
31403140
3141-
Fails if <span class="notranslate">`/etc/ssh/sshd_config`</span> contains <span class="notranslate">`UsePAM no`</span> line.
3141+
Fails if <span class="notranslate">`sshd -T`</span> output contains <span class="notranslate">`usepam no`</span>. You could specify `UsePAM yes` in `/etc/ssh/sshd_config`
3142+
3143+
::: tip Note
3144+
Cldiag checks `sshd -T` output in <span class="notranslate">**lve-utils >= 6.4.8**</span>. Lower versions check whether `/etc/ssh/sshd_config` file contains `UsePAM yes` line.
3145+
:::
31423146
31433147
#### check-symlinkowngid
31443148

0 commit comments

Comments
 (0)