HP UX 11i v2 Networking Software manual User Account Configuration Commands, Community Strings

Models: UX 11i v2 Networking Software

1 236
Download 236 pages 18.16 Kb
Page 103
Image 103

3.Enter the global-configuration mode.

HP-IB# configure HP-IB(config)#

4.Enter the username command with the name of the user, and the no keyword. For example:

HP-IB(config)# username ib-admin no

User Account Configuration Commands

Use the following commands and keywords to administer User Accounts:

Table 6-7 User Account Administrative Commands

Command

username user password passwd

username user no

username user community-string

username user no-community-string username user privilege priv1 [priv2] [priv3]

Example: ib-ro, ib-rw, ip-ethernet-ro, ip-ethernet-rw, fc-ro, fc-rw, unrestricted-rw

username user no permission

username user enable username user disable

Task

Creates a new user account.

Deletes a user account.

Assigns a community string to a user account.

Removes a community string from a user account.

Assigns one or more permission level(s) to a user account. Refer to Table 6-9 (page 104) for a list of privilege levels.

Assigns a default permission level to a user.

Administratively enables a User Account.

Administratively disables a User Account.

Community Strings

Changing Community Strings

Use the CLI to set or change SNMP community strings. If you do not want users to have SNMP access to the system, remove their community string.

To change community strings:

1.Log in as the unrestricted user.

Only a user with unrestricted permissions may create and modify user accounts. However, any user with write access (administrative and unrestricted) can remove their own community string.

Login: super

Password: xxxx HP-IB>

2.Enter the privileged-user mode.

HP-IB> enable HP-IB#

3.Enter the global-configuration mode.

HP-IB# configure HP-IB(config)#

Switch Administration and Management 103

Page 103
Image 103
HP UX 11i v2 Networking Software manual User Account Configuration Commands, User Account Administrative Commands