X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=src%2Fsetup%2Fpasswords.c;h=6242577af9eb7540cd87ef711f7d952d1304976f;hp=e7b4b5231a0343f7c911808aa6f0d6079f191931;hb=fb6446d2920bf763b9fa83062157aa103a3d24a7;hpb=db2e0a5baecda01fe22a7bb17010dcb1a73b372b diff --git a/src/setup/passwords.c b/src/setup/passwords.c index e7b4b5231a..6242577af9 100644 --- a/src/setup/passwords.c +++ b/src/setup/passwords.c @@ -56,7 +56,7 @@ int handleadminpassword(void) return 0; snprintf(commandstring, STRING_SIZE, - "/usr/sbin/htpasswd -c -m -b " CONFIG_ROOT "/auth/users admin '%s'", password); + "/usr/bin/htpasswd -c -B -C 7 -b " CONFIG_ROOT "/auth/users admin '%s'", password); sprintf(message, _("Setting %s 'admin' user password..."), NAME); if (runhiddencommandwithstatus(commandstring, _("Setting password"), message, NULL)) { sprintf(message, _("Problem setting %s 'admin' user password."), NAME);