9.3.2.10. set passwords
A - Introduction
The `passwords` command of the `set` sub-group enables modifying the passwords of the setup, gviewadm and gview users.
User
can change the password
setup
gviewadm
gview
setup
X
X
X
gviewadm
X
X
gview
X
Passwords must match predefined rules.
For more information on these rules, use the show password-policy command.
Important
Check the keyboard configuration before changing the password (`show keymap` command).
B - Prerequisites
User: setup, gviewadm, gview
Dependencies: N/A
C - Command
`set passwords {setup|gviewadm|gview}`
D - Procedure to change the password of the current user (here setup)
The command prompt is displayed.
(gcap-cli)
Enter the command
set passwords setup
Validate
(current) LDAP Password:
- Enter the LDAP password and confirmThe system asks for the new password of the account (here setup)
New password:
- Enter the new password and confirmThe system asks you to reenter the new password
Retype new password:
- Enter the new password again and confirmThe system announces that the password has been changed
passwd: password updated successfully Password changed for user setup
E - Procedure to change the password of another user
Enter the command
set passwords gviewadm
Validate
Password complexity rules: Minimum different characters between old and new passwords: 2 Minimum length: 12 Lowercase character required: yes Uppercase character required: yes Digit required: yes Other character class required: yes New password:
- Enter the new password for the account (here gviewadm) then validateThe system asks you to reenter the new password
Retype new password:
- Enter the new password again and confirmThe system announces that the password has been changed
passwd: password updated successfully Password changed for user gviewadm