Commit b7ac1f3f authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-acf: fix password generation

parent c5c7a9dc
......@@ -37,7 +37,7 @@ if [ "$create_passwd" != "no" ]; then
# this will show password on process list but we assume user is alone
# on the box at this stage
_md5passwd=$(echo -n "$_password" | md5sum)
_md5passwd=$(echo -n "$_password" | md5sum | cut -d' ' -f1)
echo "root:$_md5passwd:Admin account:ADMIN" >/etc/acf/passwd
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