Lock User Account Administratively

Contents


1   Description

This instruction describes how the administrator can lock a local Operation and Maintenance (O&M) user account.

2   Procedure

2.1   Lock User Account Administratively

Prerequisites

Steps

  1. Navigate to the UserAccountM Managed Object (MO), for example:

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

  2. Select the appropriate user account, for example:

    (UserAccountM=1)>UserAccount=joedoe

  3. Enter Config mode:

    (UserAccount=joedoe)>configure

  4. Set attribute administrativeState , for example:

    (config-UserAccount=joedoe)>administrativeState=LOCKED

  5. Commit the settings:

    (config-UserAccount=joedoe)>commit

  6. Verify the settings, for example:

    (UserAccount=joedoe)>show accountState

    The following is an example output:

    accountState=LOCKED

    (UserAccount=joedoe)>show lockedTime

    The following is an example output:

    lockedTime="2015-02-02T13:37:12Z"