To do
If "unsecure" services like rsh
, ftp
, et al, are to be enabled,
use at least tcp_wrappers
, in /etc/inetd.conf
:
ftp stream tcp6 nowait root /opt/bin/tcpd ftpd -l -u077
shell stream tcp6 nowait root /opt/bin/tcpd rshd
telnet stream tcp6 nowait root /opt/bin/tcpd telnetd -a
login stream tcp6 nowait root /opt/bin/tcpd
where /opt/bin/tcpd
is the actual TCP wrapper.
In this case, root access from some machines may be allowed via /.rhosts
:
The general format is
<machine>.<domain> root
<machine> root
This list
should be restricted to an absolute minimum, for admin purposes only.