summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2015-04-22 13:48:52 -0400
committerJoey Hess2015-04-22 13:48:52 -0400
commita3c1e8ada3e409e5782676e2fc0b4882bc331a25 (patch)
treec2c6c90758b656fec20ca9580f1f0ed134198275 /src/Propellor
parentf35ef9d6975710f2d77c2ea708c66500861d92d1 (diff)
use new property
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index e317c3d1..8dae8e22 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -75,7 +75,7 @@ scrollBox = propertyList "scroll server" $ props
-- prevent port forwarding etc by not letting scroll log in via ssh
& Ssh.sshdConfig `File.containsLine` ("DenyUsers scroll")
`onChange` Ssh.restarted
- & cmdProperty "chsh" ["scroll", "-s", s]
+ & User.shellSetTo (User "scroll") s
& User.hasPassword (User "scroll")
& Apt.serviceInstalledRunning "telnetd"
& Apt.installed ["shellinabox"]