/etc/nologin removed during reboot by shutdown script.
inetd
and the names of the files correlate to the service./etc/xinetd.conf
file contains general configuration settings which effect every service under xinetd
's control. It is read once when the xinetd
service is started, so for configuration changes to take effect, the administrator must restart the xinetd
service. The following is a sample /etc/xinetd.conf
file:/etc/xinetd.d/
directory contains the configuration files for each service managed by xinetd
and the names of the files correlate to the service. As with xinetd.conf
, this directory is read only when the xinetd
service is started. To gain an understanding of how these files are structured, consider the /etc/xinetd.d/telnet
file:xinetd
service./etc/services
file contains list of network services and ports mapped to them. inetd
or xinetd
looks at these details so that it can call particular program when packet hits respective port and demand for service.hosts.allow
and hosts.deny
(in that order) to determine if the client should be allowed to use a given service.service: hosts
telnet 192.168.
to /etc/hosts.allow
causes only telnet connections from 192.168.x.x ip range accepted./etc/hosts.deny
causes telnet connections from 192.168.x.x ip range denied , but telnet connetions would be accepted from any other addresses.after changing these files, xinetd should be restarted