beautypg.com

Modifying an existing user account – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 208

background image

176

Network OS NETCONF Operations Guide

53-1003231-02

User accounts

15

brcdUser2

Broom6fielD

user

brcdUser3

Esoj3naS

user

Include the element in the input under the node to return information about
a specific user.

To return information about only enabled users, include the TRUE element
under the node.

Modifying an existing user account

The RPCs for the account create and modify operations look alike. The difference is that no
mandatory parameters exist for modifying an existing account. The system recognizes internally
whether a new account is created or an existing account is modified by checking whether the user
account is already present in the configuration database.

The following example adds a description to the previously created “brcdUser” account.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-aaa namespace.

2. Under the node, include the following leaf elements.

a. In the element, identify the user whose account information is to be changed.

b. In the element, provide an account description.

c. In the element, provide an expiration date for the account. The default value is

“never”.

brcdUser

Brocade guest account

never

The following example changes the password for the account “testUser”. All active login sessions of
a user are terminated if the user’s password or role is changed.