diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-20 07:31:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-20 07:31:21 +0000 |
commit | b7ac1f3f8b4ddb7cc4a585bc8b7ebdaa2dd8ae16 (patch) | |
tree | 3262ef34a7315033385e89c15956daa45775596f /setup-acf.in | |
parent | c5c7a9dc48b6b4e51ebe7ce25dd259e00ccee9c8 (diff) | |
download | alpine-conf-b7ac1f3f8b4ddb7cc4a585bc8b7ebdaa2dd8ae16.zip |
setup-acf: fix password generation
Diffstat (limited to 'setup-acf.in')
-rw-r--r-- | setup-acf.in | 2 |
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 |