4.1.1.1 Disable writesrv

Information

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

Rationale:

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

Default Value:

N/A

Additional Information:

Reversion:

Re-add the writesrv startup line to /etc/inittab:

mkitab 'writesrv:2:wait:/usr/bin/startsrc -swritesrv'

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|9.2

Plugin: Unix

Control ID: 1e9f0ba4237304b4eed3565a5582093aaa0a072758674c6815b576cfe8db9dbc