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 = {
|
systemd.services.sshd.serviceConfig = {
|
||||||
NoNewPrivileges = true;
|
# NoNewPrivileges = true;
|
||||||
ProtectSystem = "strict";
|
ProtectSystem = "strict";
|
||||||
ProtectHome = "read-only";
|
ProtectHome = "read-only";
|
||||||
ProtectClock = true;
|
ProtectClock = true;
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
RestrictNamespaces = true;
|
RestrictNamespaces = true;
|
||||||
RestrictRealtime = true;
|
RestrictRealtime = true;
|
||||||
RestrictSUIDSGID = true;
|
# RestrictSUIDSGID = true;
|
||||||
MemoryDenyWriteExecute = true;
|
MemoryDenyWriteExecute = true;
|
||||||
LockPersonality = true;
|
LockPersonality = true;
|
||||||
DevicePolicy = "closed";
|
DevicePolicy = "closed";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue