diff options
| author | Joey Hess <joey@kitenet.net> | 2014-03-30 20:49:26 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-03-30 20:49:26 -0400 |
| commit | dbdd18e0e185439ada96d411b9b6246cfb5cee04 (patch) | |
| tree | e70d5ac83a4c96df40546d1dc97627ecaa234763 /Property | |
| parent | 1c65b86f8302cd42152e26c9d4fd24285a8e70c0 (diff) | |
propellor spin
Diffstat (limited to 'Property')
| -rw-r--r-- | Property/Sudo.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
