From f8b6035f9495dcedd4ba3a8e43d127127a6d4eb7 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Fri, 10 May 2013 05:25:45 +0000 Subject: [PATCH] fix bug 3562:"rspconfig cmm USERID=" doesn't update password properly for existing hdwr connection git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@16232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 3cb4f32ea..cfe420e8f 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -4742,7 +4742,7 @@ sub passwd { } elsif ($res =~ /The hdwr_svr daemon is not currently running/i) { return ([1, "Update password for 'hdwr_svr' failed because the 'hdwr_svr' daemon is not currently running. Please recreate the connections between blades and hdwr_svr."]); } - my $hws_cmd = "$fsp_api -a reset_hws_pw -u $user -p $oldpass -P $pass -T 0 -t 0:$$att[3]:$$att[0]:$node_name: 2>&1"; + my $hws_cmd = "$fsp_api -a reset_hws_pw -u HMC -p $oldpass -P $pass -T 0 -t 0:$$att[3]:$$att[0]:$node_name: 2>&1"; #print "===>set_hws_cmd=$hws_cmd\n"; $res = xCAT::Utils->runcmd($hws_cmd, -1);