fix: remove options causing sudo issues
This commit is contained in:
parent
96c1b1a504
commit
e14744ff80
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
systemd.services.sshd.serviceConfig = {
|
||||
NoNewPrivileges = true;
|
||||
# NoNewPrivileges = true;
|
||||
ProtectSystem = "strict";
|
||||
ProtectHome = "read-only";
|
||||
ProtectClock = true;
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
PrivateDevices = true;
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
# RestrictSUIDSGID = true;
|
||||
MemoryDenyWriteExecute = true;
|
||||
LockPersonality = true;
|
||||
DevicePolicy = "closed";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue