MyNixOS website logo
option

security.enableWrappers

Whether to enable SUID/SGID wrappers.

ONLY DISABLE THIS OPTION IF YOU KNOW WHAT YOU'RE DOING.

A normal interactive NixOS system requires SUID/SGID wrappers (e.g. for PAM and sudo). Disabling them, thus will lock you out from your system.

Disabling the SUID/SGID binaries is useful for non-interactive systems (like a firewall appliance) to minimize the attack surface. In the future, this might become available for interactive systems as well (e.g. with systemd's run0).

Declarations
Type
boolean
Default
true
Example
true