From c8105a2349f89c72584039c5aae168d47fda579d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 18 Jan 2012 19:43:02 +0000 Subject: [PATCH] Ensure even pickier password complexity rules are satsified by our random passwords git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/bmcconfig.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/bmcconfig.pm b/xCAT-server/lib/xcat/plugins/bmcconfig.pm index a94eae565..6259df6b5 100644 --- a/xCAT-server/lib/xcat/plugins/bmcconfig.pm +++ b/xCAT-server/lib/xcat/plugins/bmcconfig.pm @@ -111,7 +111,7 @@ sub process_request { } $tmphash=($sitetable->getAttribs({key=>'genpasswords'},'value'))[0]; if ($tmphash->{value} eq "1" or $tmphash->{value} =~ /y(es)?/i) { - $password = genpassword(8)."1c"; + $password = genpassword(10)."1cA!"; $gennedpassword=1; $tmphash=$ipmitable->getNodeAttribs($node,['bmc','username','bmcport']); } else {