undo the CMM password expire changing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9260b97282
commit
2cb4c75e2f
@ -429,6 +429,11 @@ sub ishostinsubnet {
|
||||
if ($ip =~ /:/) {#ipv6
|
||||
$numbits=128;
|
||||
}
|
||||
# IPv6 subnet with netmask postfix like /64
|
||||
if ($subnet =~ /\//)
|
||||
{
|
||||
$subnet =~ s/\/.*$//;
|
||||
}
|
||||
if ($mask) {
|
||||
if ($mask =~ /\//) {
|
||||
$mask =~ s/^\///;
|
||||
|
@ -4568,8 +4568,6 @@ 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") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user