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)
  1. Enter the command

    set passwords setup
    
  2. Validate

    (current) LDAP Password:
    
  3. Enter the LDAP password and confirm
    The system asks for the new password of the account (here setup)
    New password:
    
  4. Enter the new password and confirm
    The system asks you to reenter the new password
    Retype new password:
    
  5. 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
    

E - Procedure to change the password of another user

  1. Enter the command

    set passwords gviewadm
    
  2. 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:
    
  3. Enter the new password for the account (here gviewadm) then validate
    The system asks you to reenter the new password
    Retype new password:
    
  4. 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