How to create a user on a VPLEX system
To create a user on a VPLEX system:
- Log in to the admin account of the VPLEX CLI.
- Type the user add username command.
User names can be up to 32 characters and contain numbers, letters, special characters, and no spaces. For example:
VPlexcli:/> user add TestUserYou are prompted for the administrator password. - Enter the administrator password at the prompt.
A prompt for the new password for the user name being added is displayed:
Enter password for TestUser: - Enter the password for the new username. Passwords must be at least eight characters and can contain numbers, letters, and special characters. Spaces and dictionary words are not allowed.
- Re-enter the password at the second prompt:
Confirm password for TestUser: - Repeat the procedure from the user add command for each new user.
- Verify the new accounts by using the user list command.
First login to a new user account
In order to login to the CLI, newly created user accounts must change their password on the management server. The new password must be at least 14 characters long.
Example of a first login after an account is created:
login as: TestUser
using keyboard-interactive authentication.
Password: old-password
Using keyboard-interactive authentication.
Password change requested. Choose a new password.
Old Password: old-password
Using keyboard-interactive authentication.
New Password: my-new-password
Using keyboard-interactive authentication.
Reenter New Password: my-new-password
Password changed.
localuser@ManagementServer:~>
The user has been created.
By default, the role name for the user is vplexuser, and shell-access is set to false.
The role name needs to be changed to readonly and the shell-access to true to discover the VPLEX system by using BMC Discovery.
- Change the path to /management-server/users/local/TestUser.Enter:
cd /management-server/users/local/TestUser - To see the default value, enter the command ll.
- To see the role to readonly, enter:
set role-name readonly - Enter the administrator password at the prompt.
Enter admin password: - Enter the command set shell-access true.
set shell-access true - Enter the administrator password at the prompt.
Enter admin password: - To see the values, enter the command ll.
After the procedure is complete, in BMC Discovery, add a credential of type SSH and EMC VPLEX REST API. Use the same username (TestUser) and its password for both SSH and EMC VPLEX REST API. Finally, perform a scan to discover the VPLEX Storage system.