From 561bafb554bc9d92d6c51c739b37f9f3da49e93d Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Mon, 21 May 2012 08:37:36 +0000 Subject: [PATCH] fix bug 3528520: FB->rspconfig cmm USERID=Passw0rd can't work git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12841 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 131b31df2..14326ddd2 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -4313,7 +4313,7 @@ sub passwd { return ([1, @data]); } @data = (); - my $snmp_cmd = "users -n $user -ap sha -pp des -ppw $pass -t system:$mm"; + my $snmp_cmd = "users -n $user -ap sha -pp des -ppw $pass -T system:$mm"; @data = $t->cmd($snmp_cmd); if (!grep(/ok/i, @data)) { $cmd = "users -n $user -op $pass -p $oldpass -T system:$mm";