summaryrefslogtreecommitdiff
path: root/HostProp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'HostProp.hs')
-rw-r--r--HostProp.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/HostProp.hs b/HostProp.hs
index 821fe9ef..e0ed8f2a 100644
--- a/HostProp.hs
+++ b/HostProp.hs
@@ -24,7 +24,10 @@ getProperties "clam" =
, GitHome.installedFor "root"
, check (Ssh.hasAuthorizedKeys "root") $
Ssh.passwordAuthentication False
+ , check (Ssh.hasAuthorizedKeys "root") $
+ User.lockedPassword "root"
, User.nonsystem "joey"
+ , User.nuked "user"
, Apt.installed ["sudo"]
, fileHasContent "/etc/sudoers" ["joey ALL=(ALL:ALL) ALL"]
, GitHome.installedFor "joey"