From 332f40265de369f0d1f2b3a49a2e83cb1906e1b9 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Sat, 10 Sep 2016 15:27:35 +0200 Subject: [PATCH] =?UTF-8?q?tout=20le=20monde=20peut=20ex=C3=A9cuter=20mtr?= =?UTF-8?q?=20sans=20sudo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/environment.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/environment.nix b/public/environment.nix index 3255841..08a0320 100644 --- a/public/environment.nix +++ b/public/environment.nix @@ -59,6 +59,10 @@ in }; etc.gitconfig.text = builtins.readFile ./gitconfig; }; + # programmes qui n'ont pas besoin de sudo pour fonctionner + security.setuidPrograms = [ + "mtr" + ]; programs.bash = { enableCompletion = true; promptInit = builtins.readFile ./bash-prompt.sh;