husrunlk Command-Unlock User

The husrunlk command unlocks a locked-out user (LockedUserName in the following syntax). If a user has consecutively used the wrong password and reached the limit of the MaxFailAttemptBeforeLockout setting, a locked out user can only log on after an administrator has unlocked the user.
cahscm101
The husrunlk command unlocks a locked-out user (
LockedUserName
 in the following syntax). If a user has consecutively used the wrong password and reached the limit of the MaxFailAttemptBeforeLockout setting, a locked out user can only log on after an administrator has unlocked the user.
The following considerations apply to authentication:
  • When you are using internal authentication (
    CA Harvest SCM
     authentication), unlocking users is enabled.
  • When you are using external authentication, such as Windows Active Directory, this functionality is disabled; unlocking users must be performed using methods provided by the authentication server. For example, if using Microsoft Active Directory, you can use Windows Domain User Manager to unlock a user.
  • When you are using external authentication, unlocking users fails with an error message.
This command has the following format:
husrunlk {-b name} {-usr 
username
} {-pw 
password
} [-v] [-prompt] [-i 
inputfile.txt
 | -di 
inputfile.txt
] [-eh 
filename
] [-o 
filename
 | -oa 
filename
] [-arg] [-wts] [-h] 
LockedUserName
  • -b 
    name
    (Required) Specifies the 
    CA Harvest SCM
     broker name.
  • -usr 
    username
    (Required, unless -prompt is specified) Specifies the user name for login to the broker. If -usr is defined without -pw, the user is prompted for the password at runtime.
  • -pw 
    password
    (Required, unless -prompt is specified) Specifies the password for login to the broker. To hide the password from being exposed in plain text on the command line, use the -prompt option.
  • -eh 
    filename
    (Optional) Specifies the encrypted 
    CA Harvest SCM
     username-password file name. The file name used with this option contains encrypted username-password credentials and must be generated with the svrenc utility.
Example: husrunlk command
husrunlk -b brokername -usr username -pw password -o husrunlk.log BobSmith