4.Enter the username command and the password keyword to change the user account and user password.

Use the default user name and password if they have not already been changed (refer to (page 100)).

The user name and password are alphanumeric strings of up to 34 characters each.

5.Repeat step 4 to change additional usernames and passwords.

6.Exit the global-configuration mode.

7.Use the show user command to verify changes.

Login: super

Password: xxxxx HP-IB> enable HP-IB# configure

HP-IB(config)# username ib-admin password ibadmin HP-IB(config)# username ib-admin community-string ib-commstr HP-IB(config)#

Displaying User Information

To display the information of configured users:

1.Log in to the CLI as a super user.

Only a user with unrestricted privileges may view user information.

2.Enter the show user all command to display current user information.

HP-IB> show user all

============================================================================

User Information

============================================================================

username : admin

password : hp snmp-community : justatest

permission-level : ib-rw admin-status : enabled

num-logins : 0 num-unsuccessful-logins : 0

last-login : last-unsuccessful-login :

username : super

password : super snmp-community : secret

permission-level : unrestricted-rw admin-status : enabled

num-logins : 1 num-unsuccessful-logins : 0

last-login : Tue Nov 19 10:03:47 2002 last-unsuccessful-login :

HP-IB>

Adding New Users

To add a new user account for CLI access:

1.Log in as the unrestricted user.

Only a user with unrestricted permissions may add new user accounts.

HP-IB# Login: super

Password: xxxx HP-IB>

2.Enter the privileged-user mode.

Switch Administration and Management 101

Page 101
Image 101
HP UX 11i v2 Networking Software manual Displaying User Information, Adding New Users