Revision: 6052
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6052&view=rev
Author:   owes
Date:     2011-11-11 08:47:42 +0000 (Fri, 11 Nov 2011)
Log Message:
-----------
Force to use crypt() encryption, to be compatible with chpasswd.cgi.

Modified Paths:
--------------
    ipcop/trunk/html/cgi-bin/proxy.cgi
    ipcop/trunk/updates/2.0.2/ROOTFILES.i486-2.0.2

Modified: ipcop/trunk/html/cgi-bin/proxy.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/proxy.cgi  2011-11-10 08:06:56 UTC (rev 6051)
+++ ipcop/trunk/html/cgi-bin/proxy.cgi  2011-11-11 08:47:42 UTC (rev 6052)
@@ -4167,7 +4167,7 @@
         close(FILE);
     } else {
         &deluser($str_user);
-        system("/usr/sbin/htpasswd -b $userdb $str_user $str_pass");
+        system("/usr/sbin/htpasswd -db $userdb $str_user $str_pass");
     }
 
     if ($str_group eq 'standard') { open(FILE, ">>$stdgrp");

Modified: ipcop/trunk/updates/2.0.2/ROOTFILES.i486-2.0.2
===================================================================
--- ipcop/trunk/updates/2.0.2/ROOTFILES.i486-2.0.2      2011-11-10 08:06:56 UTC 
(rev 6051)
+++ ipcop/trunk/updates/2.0.2/ROOTFILES.i486-2.0.2      2011-11-11 08:47:42 UTC 
(rev 6052)
@@ -1,4 +1,5 @@
 ## please place IPCop files first, then packages sorted by alphabetical order
+/home/httpd/cgi-bin/proxy.cgi
 /usr/share/locale/it_IT/LC_MESSAGES/ipcop.mo
 ##
 ## Net-DNS-0.67

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to