diff options
-rw-r--r-- | scripts/custom.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/custom.sh b/scripts/custom.sh index 99037b5..3058aa4 100644 --- a/scripts/custom.sh +++ b/scripts/custom.sh @@ -4,8 +4,7 @@ sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config # install additional packages -# openssl is needed to set root pw later -apt-get -y install puppet lsb-release facter rsync curl openssl +apt-get -y install puppet lsb-release facter rsync curl # Set root pw -usermod -p "$(echo vagrant | openssl passwd -1 -stdin)" root +echo 'root:vagrant' | chpasswd |