Remove Password from User Account

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document describes how to remove the password from a local Operation and Maintenance (O&M) user account.

It is recommended that the local user password is removed when the Secure Shell (SSH) public key is set and if the password authentication is not expected to be used, otherwise the expiry of the password blocks the account from any type of authentication.

1.1   Prerequisites

This section describes the prerequisites, which must be fulfilled before using the procedure.

1.1.1   Conditions

The following conditions must apply:

2   Procedure

To remove a password from a local O&M user account:

  1. Navigate to the UserAccountM MO, for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,SecM=1,UserManagement=1,LocalAuthenticationMethod=1,UserAccountM=1

  2. Select the user account, for example:

    (UserAccountM=1)>UserAccount=joedoe

  3. Remove the password:

    (UserAccount=joedoe)>removePassword

  4. Verify that the password has been removed by checking that the password state has been cleared, for example:

    (UserAccount=joedoe)>show passwordState

    The following is an example output:

    PasswordState=[]