cmx_admin_passwd (Set up a management user account of a Management Server)
- Organization of this page
Format
cmx_admin_passwd [Common-arguments] [-np new-management-user-password] [-nu new-management-user-ID]
Function
This command sets up a management user account for logging into Management Server. When you specify a new management user account, the existing management user account changes to the new management user account. Additionally, if a null character ("") is specified in the -np option, the set up management user password is released.
Arguments
- -np new-management-user-password
-
Specifies the management user password of the new Management Server.
- -nu new-management-user-ID
-
Specifies the management user ID of the new Management Server.
Input examples
-
To set up a new management user account
cmx_admin_passwd -m localhost -u admin01 -p p1574809
-
To change the existing management user account
cmx_admin_passwd -m localhost -u admin01 -p p1574809 -np passwd123 -nu admin02
-
To release the management user password
cmx_admin_passwd -m localhost -u admin01 -p p1574809 -np ""
Return values
- 0:
-
The command is terminated normally.
- 1:
-
The command is terminated with a warning.
- 64:
-
The command is terminated abnormally.
Notes
If you input the cmx_admin_passwd command specifying the -np option when the management user password has not been set up, the value specified in the -p option of the common arguments is ignored and a new management user password is set. Additionally, if you input the command specifying the -nu option when the management user ID has not been set, the value specified in the -u option of the common arguments is ignored and a new management user ID is set up. When the functionality for omitting the admin user account is enabled, a message is displayed and the termination code 0 is output. Also, the admin user account is not specified. For the functionality to omit the admin user account, see 4.1.15(3) Settings when the management user account is not set in the uCosminexus Application Server System Setup and Operation Guide.