]> 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 50ee38ed73c22d2d3fededbbeb9c1035550bcd3a..6242577af9eb7540cd87ef711f7d952d1304976f 100644 (file)
@@ -56,7 +56,7 @@ int handleadminpassword(void)
                return 0;
        
        snprintf(commandstring, STRING_SIZE,
-               "/usr/sbin/htpasswd -c -s -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);