Author: nextgens
Date: 2007-05-10 00:34:56 +0000 (Thu, 10 May 2007)
New Revision: 13188

Modified:
   trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
Log:
maybe fix pyrojimmy\'s problem

Modified: trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd
===================================================================
--- trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd        
2007-05-10 00:09:05 UTC (rev 13187)
+++ trunk/apps/new_installer/res/windows/bin/install_wrapper.cmd        
2007-05-10 00:34:56 UTC (rev 13188)
@@ -51,7 +51,8 @@
 @echo "Installing the wrapper"
 @echo  - Creating a user for freenet
 :: A ugly hack to workaround password policy enforcements
- at set PASSWORD=%random%%random%
+ at set TMPPASSWORD=%random%%random%
+ at set PASSWORD=%TMPPASSWORD:~0,12%
 :: remove the user, just in case...
 @net user freenet /delete > NUL
 @net user freenet %PASSWORD% /add /comment:"this user is used by freenet: do 
NOT delete it!" /expires:never /passwordchg:no /fullname:"Freenet dedicated 
user" > NUL


Reply via email to