summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 20:50:33 -0400
committerJoey Hess2014-03-30 20:50:33 -0400
commit409cb20373f65c784f1430322b5f28bc58d34943 (patch)
tree24d7ebec8755ffbf486669dc792c12c9655e4b79
parentdbdd18e0e185439ada96d411b9b6246cfb5cee04 (diff)
comment
-rw-r--r--Property/Sudo.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Property/Sudo.hs b/Property/Sudo.hs
index 33fbf67e..f341a3eb 100644
--- a/Property/Sudo.hs
+++ b/Property/Sudo.hs
@@ -8,7 +8,10 @@ import qualified Property.Apt as Apt
import Property.User
{- Allows a user to sudo. If the user has a password, sudo is configured
- - to require it. If not, NOPASSWORD is enabled for the user. -}
+ - to require it. If not, NOPASSWORD is enabled for the user.
+ -
+ - TOOD: Full sudoers file format parse..
+ -}
enabledFor :: UserName -> Property
enabledFor user = Property desc go `requires` Apt.installed ["sudo"]
where