From 0862ca9fa787d0e6d6f0a6a5adba78087c626aa5 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Thu, 12 Jan 2012 07:54:14 +0000 Subject: [PATCH] sudoers: LOCALE_ARCHIVE, TERMINFO_DIRS for root and %wheel svn path=/nixos/trunk/; revision=31491 --- modules/security/sudo.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/security/sudo.nix b/modules/security/sudo.nix index 694f868632d6..92677f2a8db2 100644 --- a/modules/security/sudo.nix +++ b/modules/security/sudo.nix @@ -32,6 +32,10 @@ in '' # Don't edit this file. Set nixos option security.sudo.configFile instead + # env vars to keep for root and %wheel also if not explicitly set + Defaults:root,%wheel env_keep+=LOCALE_ARCHIVE + Defaults:root,%wheel env_keep+=TERMINFO_DIRS + # "root" is allowed to do anything. root ALL=(ALL) SETENV: ALL