4.3.1.1 Ensure writesrv service is not in use

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The recommendation is to disable writesrv This allows users to chat using the system write facility on a terminal.

writesrv allows users to chat using the system write facility on a terminal. The recommendation is that this service must be disabled.

Solution

Identify if writesrv is enabled:

lsitab writesrv | wc -l

If the command output != "0" stop the service and remove the entry from /etc/inittab

rmitab writesrv
stopsrc -s writesrv

See Also

https://workbench.cisecurity.org/benchmarks/10385