From baba668033f86b7c91f6b15c58002ea4bdbf3da2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 23 Nov 2014 16:39:49 -0400 Subject: hasSomePassword and hasPassword now default to using the name of the host as the Context for the password. To specify a different context, use hasSomePassword' and hasPassword' (API change) --- config-joey.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config-joey.hs') diff --git a/config-joey.hs b/config-joey.hs index b6152f15..67986ffe 100644 --- a/config-joey.hs +++ b/config-joey.hs @@ -366,9 +366,9 @@ standardSystemUnhardened hn suite arch motd = host hn & Apt.installed ["etckeeper"] & Apt.installed ["ssh"] & GitHome.installedFor "root" - & User.hasSomePassword "root" (Context hn) + & User.hasSomePassword "root" & User.accountFor "joey" - & User.hasSomePassword "joey" (Context hn) + & User.hasSomePassword "joey" & Sudo.enabledFor "joey" & GitHome.installedFor "joey" & Apt.installed ["vim", "screen", "less"] -- cgit v1.2.3