6.2.2.11. passwords

6.2.2.11.1. Introduction

The passwords command of the set subgroup 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).


6.2.2.11.2. Prerequisites

  • Users: setup, gviewadm, gview

  • Dependencies: N/A


6.2.2.11.3. Command

set passwords {setup|gviewadm|gview}


6.2.2.11.4. Example of changing the password of the current user (here setup)

  • Enter the following command.

    (gcap-cli) set passwords setup
    
  • Validate.

    (current) LDAP Password: 
    
  • Enter the LDAP password and confirm.
    The system asks for the new password of the account (here setup).

    New password: 
    
  • Enter the new password and confirm.
    The system asks you to re-enter the new password.

    Retype new password: 
    
  • Enter the new password again and confirm.
    The system announces that the password has been changed.

    passwd: password updated successfully
    Password changed for user setup
    

6.2.2.11.5. Example of changing the password of another user

  • Enter the following command.

    (gcap-cli) 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 validate.
    The system asks you to re-enter the new password.

    Retype new password:
    
  • Enter the new password again and confirm.
    The system announces that the password has been changed.

    passwd: password updated successfully
    Password changed for user gviewadm