diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-23 16:39:49 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-23 16:40:21 -0400 |
| commit | baba668033f86b7c91f6b15c58002ea4bdbf3da2 (patch) | |
| tree | 8cac82bbfdc2dff3965cd0d857419b6403efd878 /config-joey.hs | |
| parent | d8624e2e5df9baf6883eb91b4be8282fb4b62304 (diff) | |
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)
Diffstat (limited to 'config-joey.hs')
| -rw-r--r-- | config-joey.hs | 4 |
1 files changed, 2 insertions, 2 deletions
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"] |
