From dbdd18e0e185439ada96d411b9b6246cfb5cee04 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 30 Mar 2014 20:49:26 -0400 Subject: propellor spin --- Property/Sudo.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Property/Sudo.hs') diff --git a/Property/Sudo.hs b/Property/Sudo.hs index 175f453a..33fbf67e 100644 --- a/Property/Sudo.hs +++ b/Property/Sudo.hs @@ -21,7 +21,7 @@ enabledFor user = Property desc go `requires` Apt.installed ["sudo"] desc = user ++ " is sudoer" sudobaseline = user ++ " ALL=(ALL:ALL)" sudoline True = sudobaseline ++ " NOPASSWD:ALL" - sudoline False = sudobaseline + sudoline False = sudobaseline ++ " ALL" wanted locked l | not (sudobaseline `isPrefixOf` l) = True | "NOPASSWD" `isInfixOf` l = locked -- cgit v1.2.3