summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2015-11-20 08:48:40 +0100
committerkwadronaut <kwadronaut@leap.se>2015-11-20 08:48:40 +0100
commita5b7c128d4e469e3a248da586bdcf613029077f0 (patch)
treef59bb47383ee022422de63991aec43c8e686ad6f
parente8ffd7857395223cbc1af443424957884502a11f (diff)
parente4eef6fe67d378842ec52d0bc641adc9da4ac590 (diff)
Merge branch 'master' of leap.se:/leap_vagrant
-rw-r--r--definitions/jessie/base.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/definitions/jessie/base.sh b/definitions/jessie/base.sh
index 48b90ef..8c3b4bc 100644
--- a/definitions/jessie/base.sh
+++ b/definitions/jessie/base.sh
@@ -7,13 +7,12 @@ apt-get -y install curl unzip vim tmux
# Set up sudo
echo 'vagrant ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/vagrant
-# LEAP still requires ssh-root login:
+# LEAP still requires ssh-root login Jessie:
# Either create a root password OR a user with sudo rights in the preseed
echo 'root:vagrant' | sudo chpasswd
echo 'PasswordAuthentication yes' >> /etc/ssh/sshd_config
-#echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
# Tweak sshd to prevent DNS resolution (speed up logins)