userRename
Renames the user login name.
Synopsis
userrename old_username new_username
Availability
admin
NOTE:
This command is not supported on all platforms.
Description
Use this command to change an existing account login name to a new login name. The following rules
apply:
•
new_username must begin with a letter and contain only alphanumeric characters or underscores.
•
new_username must be between 1 and 40 characters long.
•
new_username must be different from any existing account login name.
•
If old_username is a default login name, new_username cannot be another default login name.
•
If new_username is a default login name, it must indicate the same role as old_username.
When using HP Secure Fabric OS, rename the admin-level login name to the HP-specific default of admin
and the user-level login name to the HP-specific default of user before enabling security; otherwise, the
switch is not allowed in the secure fabric.
Operands
old_username
new_username
NOTE:
These operands are case sensitive.
Examples
To rename the admin-level login name from "USERID" to "admin":
switch:admin> userrename USERID admin
See also
secModeEnable
The current user login name
The new user login name
Fabric OS 5.x command reference guide 745