Merge pull request #1360 from Dokploy/remove-permit-root-login-advice

Remove permit root login advice
This commit is contained in:
Mauricio Siu
2025-02-23 18:11:58 -06:00
committed by GitHub
4 changed files with 53 additions and 63 deletions

View File

@@ -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"}

View File

@@ -1619,4 +1619,3 @@ export const templates: TemplateData[] = [
load: () => import("./wikijs/index").then((m) => m.generate), load: () => import("./wikijs/index").then((m) => m.generate),
}, },
]; ];