To change your user identity:

1.Enter the user-execute or privileged-execute mode.

2.Enter the login command with the name of a system user.

HP-IB# login admin

3.Enter the user password.

After you enter the password, you are logged in as the specified user in the user-execute mode.

Password: xxxxx

HP-IB>

Notifying Users

User notification commands send text messages to the terminal screens of all CLI users or to individual users. These are convenient utilities for notifying everyone of an impending reboot or to notify single users about special issues that apply only to them.

Broadcasting Messages to Users

Message broadcasting is an important feature to forewarn all CLI users that some major event is about to take place, such as bringing down a network for administration. A broadcast message is sent to every active CLI session on the system chassis.

Enclose multi-word messages within double-quotes. Single-word messages do not require double-quotes. Only the unrestricted user may broadcast messages.

HP-IB# broadcast “message”

Syntax

The message identifies the sender, followed by the message text.

For example, if you send this:

HP-IB# broadcast "Switch going down in 10 minutes."

everyone, including the user who sent the message, receives this:

HP-IB#

Broadcast message from super

Switch going down in 10 minutes.

Sending Messages to Individual Users

The write command is used to send a message to a single user. Check that the user is logged in before attempting to write to their terminal. Use theshow user user_name command to verify the user is logged in.

HP-IB> show user anonymous

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

User Information

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

username : anonymous access-level : readwrite admin-status : enabled

status : active num-logins : 1

num-unsuccessful-logins : 6

last-login : Thu Oct 10 09:13:10 2002 last-unsuccessful-login : Thu Oct 10 09:12:32 2002

HP-IB> write waldo "Connection to FC array 15 is now working." HP-IB>

Switch Administration and Management 99

Page 99
Image 99
HP UX 11i v2 Networking Software Notifying Users, Broadcasting Messages to Users, Sending Messages to Individual Users