setting the password expire time to 0, never expired
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2f2a72e90c
commit
734b00e875
@ -4479,6 +4479,9 @@ sub passwd {
|
||||
return ([1, @data]);
|
||||
}
|
||||
}
|
||||
# setting the password expire time to 0, never expired
|
||||
$t->cmd("accseccfg -pe 0 -T system:$mm");
|
||||
|
||||
@data = ();
|
||||
my $snmp_cmd = "users -n $user -ap sha -pp des -ppw $pass -T system:$mm";
|
||||
@data = $t->cmd($snmp_cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user