From ba155d4c47b748fb5d474da381d6603a43eff97f Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Tue, 1 Jul 2014 22:44:39 +0530 Subject: [PATCH] do not assign a password for root since we do not allow root access anymore --- assets/init | 5 ----- 1 file changed, 5 deletions(-) diff --git a/assets/init b/assets/init index 89618374..becdc32c 100755 --- a/assets/init +++ b/assets/init @@ -125,11 +125,6 @@ case "${LDAP_UID}" in *) LDAP_ALLOW_USERNAME_OR_EMAIL_LOGIN=${LDAP_ALLOW_USERNAME_OR_EMAIL_LOGIN:-true} esac -# generate a password for root. -ROOT_PASSWORD=$(pwgen -c -n -1 12) -echo "root:$ROOT_PASSWORD" | chpasswd -echo User: root Password: $ROOT_PASSWORD - if [ ! -e /home/git/data/ssh/ssh_host_rsa_key ]; then # create ssh host keys and move them to the data store. dpkg-reconfigure openssh-server