diff options
| author | Joey Hess <joey@kitenet.net> | 2014-03-30 00:17:44 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-03-30 00:17:44 -0400 |
| commit | b5284cc23fc7ce49a3f75762d6387c28dbb174eb (patch) | |
| tree | c1b5f52cd353466510c3a9bdcb6980109f87b171 /HostProp.hs | |
| parent | 3121c1005945b167abb1bfd16379002802429158 (diff) | |
password locking
Diffstat (limited to 'HostProp.hs')
| -rw-r--r-- | HostProp.hs | 3 |
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" |
