]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Nochn Fix fuer die Passwoerter.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 18 Sep 2006 19:28:58 +0000 (19:28 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 18 Sep 2006 19:28:58 +0000 (19:28 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@284 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

html/cgi-bin/changepw.cgi

index af9719d108617725c1fd6ac384ff80a70b34a714..e5595e15877b5e4459bc222b0288ae3c1810f360 100644 (file)
@@ -40,7 +40,7 @@ if ($cgiparams{'ACTION_ADMIN'} eq $Lang::tr{'save'})
                }
                elsif (length($password1) >= 6)
                {
-                       system('/usr/bin/htpasswd', '-m', '-b', "${General::swroot}/auth/users", 'admin', "${password1}");
+                       system('/usr/sbin/htpasswd', '-m', '-b', "${General::swroot}/auth/users", 'admin', "${password1}");
                        &General::log($Lang::tr{'admin user password has been changed'});
                }
                else {
@@ -61,7 +61,7 @@ if ($cgiparams{'ACTION_DIAL'} eq $Lang::tr{'save'})
                 }
                elsif (length($password1) >= 6)
                {
-                       system('/usr/bin/htpasswd', '-m', '-b', "${General::swroot}/auth/users", 'dial', "${password1}");
+                       system('/usr/sbin/htpasswd', '-m', '-b', "${General::swroot}/auth/users", 'dial', "${password1}");
                        &General::log($Lang::tr{'dial user password has been changed'});
                }
                else {