summaryrefslogtreecommitdiff
path: root/setup-acf.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-acf.in')
-rw-r--r--setup-acf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-acf.in b/setup-acf.in
index 8c386ee..92d769c 100644
--- a/setup-acf.in
+++ b/setup-acf.in
@@ -37,7 +37,7 @@ if [ "$create_passwd" != "no" ]; then
fi
# 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
fi