From f38a1d0c0d8e482198e3f2a29ac92702715a755a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 31 Aug 2016 17:32:23 -0400 Subject: propellor spin --- joeyconfig.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/joeyconfig.hs b/joeyconfig.hs index 39ddaffd..ae3e6ab1 100644 --- a/joeyconfig.hs +++ b/joeyconfig.hs @@ -466,11 +466,13 @@ keysafe = host "keysafe.joeyh.name" $ props & Apt.serviceInstalledRunning "swapspace" & Cron.runPropellor (Cron.Times "30 * * * *") & Apt.installed ["openssh-server", "etckeeper", "sudo"] - & Ssh.noPasswords & User.hasSomePassword (User "root") & User.accountFor (User "joey") & User.hasSomePassword (User "joey") & Sudo.enabledFor (User "joey") + & Ssh.randomHostKeys + & User "joey" `Ssh.authorizedKeysFrom` (User "joey", darkstar) + & Ssh.noPasswords iabak :: Host iabak = host "iabak.archiveteam.org" $ props -- cgit v1.3-2-g0d8e