setting the password expire time to 0, never expired

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-10-16 03:03:49 +00:00
parent f97f520619
commit 38ce4c7423

View File

@ -4568,6 +4568,9 @@ sub passwd {
}
return ([1, @data]);
}
# setting the password expire time to 0, never expired
$t->cmd("accseccfg -pe 0 -T system:$mm");
$mpatab->setAttribs({mpa=>$mpa,username=>$user},{password=>$pass});
if ($user eq "USERID") {
my $fsp_api = ($::XCATROOT) ? "$::XCATROOT/sbin/fsp-api" : "/opt/xcat/sbin/fsp-api";