]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/setup/passwords.c
correct wrong headline at hardwaregraphs.cgi
[ipfire-2.x.git] / src / setup / passwords.c
index e7b4b5231a0343f7c911808aa6f0d6079f191931..6242577af9eb7540cd87ef711f7d952d1304976f 100644 (file)
@@ -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);