remove openssl as requirement, use chpasswd for root
authorkwadronaut <kwadronaut@leap.se>
Thu, 4 Feb 2016 23:37:08 +0000 (00:37 +0100)
committerkwadronaut <kwadronaut@leap.se>
Thu, 4 Feb 2016 23:37:08 +0000 (00:37 +0100)
scripts/custom.sh

index 99037b5..3058aa4 100644 (file)
@@ -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