writesrv(8)writesrv(8)NAMEwritesrv - Lets users send messages to and receive messages from a
The writesrv daemon allows users to send messages to users on a remote
system, and to receive responses from users on a remote system by using
the write command.
The writesrv command receives incoming requests from a write command
and creates a server process to handle the request. This server process
communicates with the client process (write) and provides whatever ser‐
vices are requested.
To perform these services, the writesrv daemon creates a socket on the
port defined in the /etc/services file. All requests for service go as
messages to this socket.
The writesrv daemon is started automatically by the /sbin/init.d/write
program during system boot if the WRITESRV environment variable is
defined properly in the /etc/rc.config file. To start writesrv automat‐
ically during system boot, edit the /etc/rc.config file as superuser to
include the following entry:
rcmgr set WRITESRV yes
To prevent writesrv from starting automatically during system boot,
edit the file to include the following entry:
rcmgr set WRITESRV no
By default, the WRITESRV environment variable is not set in the
/etc/rc.config file and therefore the writesrv daemon does not start
automatically when the system is booted.
You can start the writesrv daemon manually with the following command:
You can stop the writesrv daemon manually with the following command:
If the writesrv daemon terminates abnormally (that is, because of a
system crash, a power failure, or the kill -9 command), someone must
manually clean out the /usr/spool/writesrv directory to remove any
files left behind.