Author: nextgens
Date: 2007-09-07 18:42:21 +0000 (Fri, 07 Sep 2007)
New Revision: 15009

Modified:
   trunk/apps/installer/installclasspath/windows/update.cmd
Log:
update.cmd: disable password expiration on freenet's account

Modified: trunk/apps/installer/installclasspath/windows/update.cmd
===================================================================
--- trunk/apps/installer/installclasspath/windows/update.cmd    2007-09-07 
17:44:55 UTC (rev 15008)
+++ trunk/apps/installer/installclasspath/windows/update.cmd    2007-09-07 
18:42:21 UTC (rev 15009)
@@ -103,6 +103,13 @@
 echo - Freenet installation found at %LOCATION%
 echo -----

+:: Disable password expiration on freenet's account
+if exist bin\netuser.exe goto pwupdated
+ at java -cp lib\sha1test.jar Sha1Test installer/netuser.exe bin/ > NUL
+if not errorlevel 0 goto error3
+ at bin\netuser.exe freenet /pwnexp:y >NUL
+:pwupdated
+
 :: Register .fref file extention
 echo - Registering .fref file extention



Reply via email to