Hitachi

JP1 Version 12 JP1/Automatic Operation Command and API Reference 


1.6.5 hcmds64unlockaccount (unlocking a user account)

Description

This command unlocks a user account. You use this command when all the user accounts are locked and the users cannot log in to JP1/AO.

Syntax

hcmds64unlockaccount
     /user user-ID
     /pass password

Arguments

/user user-ID

This option specifies the user ID of the user account that you want to unlock. You must specify the user ID with User Management permission.

/pass password

This option specifies the password of the user account that you want to unlock.

Located in

In Windows:

Common-Component-installation-folder\bin

In Linux:

/opt/HiCommand/Base64/bin

Execute permission

Execute the command as a user with Administrator or root permissions.

Remarks

Return code

The following table lists the return codes from the command.

Return code

Description

0

The command succeeded.

251

An authentication error occurred due to login failure.

252

An authentication error occurred due to a lack of User Management permission.

253

The communication with the authentication server failed.

254

The command is executed on the secondary server.

255

The command terminated abnormally.

Example

The following example shows how to use the command to unlock, in Windows, the specified user (whose user ID is test01):

hcmds64unlockaccount /user test01 /pass TTdate00