Commit c7badb80 authored by yeah's avatar yeah Committed by Joshua Tauberer

Set default user password length to 8 in non-interactive setups (#1123)

To comply with #1098 and avoid failed setups while testing with Vagrant
parent 653cb7ce
...@@ -35,7 +35,7 @@ if [ -z "`tools/mail.py user`" ]; then ...@@ -35,7 +35,7 @@ if [ -z "`tools/mail.py user`" ]; then
else else
# Use me@PRIMARY_HOSTNAME # Use me@PRIMARY_HOSTNAME
EMAIL_ADDR=me@$PRIMARY_HOSTNAME EMAIL_ADDR=me@$PRIMARY_HOSTNAME
EMAIL_PW=1234 EMAIL_PW=12345678
echo echo
echo "Creating a new administrative mail account for $EMAIL_ADDR with password $EMAIL_PW." echo "Creating a new administrative mail account for $EMAIL_ADDR with password $EMAIL_PW."
echo echo
...@@ -54,4 +54,4 @@ if [ -z "`tools/mail.py user`" ]; then ...@@ -54,4 +54,4 @@ if [ -z "`tools/mail.py user`" ]; then
# Create an alias to which we'll direct all automatically-created administrative aliases. # Create an alias to which we'll direct all automatically-created administrative aliases.
tools/mail.py alias add administrator@$PRIMARY_HOSTNAME $EMAIL_ADDR > /dev/null tools/mail.py alias add administrator@$PRIMARY_HOSTNAME $EMAIL_ADDR > /dev/null
fi fi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment