mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(security): remove permit root login status row
This commit is contained in:
@@ -145,15 +145,6 @@ export const SecurityAudit = ({ serverId }: Props) => {
|
|||||||
: "Enabled (Password Authentication should be disabled)"
|
: "Enabled (Password Authentication should be disabled)"
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<StatusRow
|
|
||||||
label="Permit Root Login"
|
|
||||||
isEnabled={data?.ssh.permitRootLogin === "no"}
|
|
||||||
description={
|
|
||||||
data?.ssh.permitRootLogin === "no"
|
|
||||||
? "Disabled (Recommended)"
|
|
||||||
: `Enabled: ${data?.ssh.permitRootLogin} (Root Login should be disabled)`
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
<StatusRow
|
<StatusRow
|
||||||
label="Use PAM"
|
label="Use PAM"
|
||||||
isEnabled={data?.ssh.usePam === "no"}
|
isEnabled={data?.ssh.usePam === "no"}
|
||||||
|
|||||||
Reference in New Issue
Block a user