Sends messages to all users on the network.
/usr/sbin/rwall HostName ...
/usr/sbin/rwall -n NetworkGroup ...
/usr/sbin/rwall -h HostName ... -n NetworkGroup
The rwall command sends messages to all users on the network. To do this, the rwall command reads a message from standard input until it reaches an end-of-file character. The rwall command takes this message, which begins with the line Broadcast Message... , and broadcasts it to all users logged in to the specified host machines. Users receive messages only if they are running the rwalld daemon, which is started by the inetd daemon.
Note: The time out is fairly short. This enables the rwall command to send messages to a large group of machines (some of which may be down) in a reasonable amount of time. Thus the message may not get through to a heavily loaded machine.
-n | Sends the message to specific network groups only. Network groups are defined in the netgroup file. |
-h | Sends the message to machines specified by the HostName parameter. |
/usr/sbin/rwall neptuneType in your message. When you are done, enter:
Ctrl D
rwall -n cosmos -h neptuneType in your message. When you are done, enter:
Ctrl D
/etc/inetd.conf | |
TCP/IP configuration file that starts RPC daemons and other TCP/IP daemons. | |
/etc/netgroup | |
Contains information about each user group on the network. |
The wall command.
The inetd daemon, rwalld daemon.
Network File System (NFS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.