If you don't have a file named /etc/xinetd.d/echo on your system, then download xinetd and install it:
rpm -iv xinetd*rpm
For example, if you would like to enable the telnet service, you would need to modify the /etc/xinetd.d/telnet file. If the file //etc/xinetd.d/telnet does not exist on your machine, then get the telnet server software from the Red Hat CD or download the telnet server. Then install the telnet server:
rpm -iv telnet-server*rpm
# /etc/xinetd.d/telnet
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}
killall -HUP xinetd
| Problem | Solution |
|---|---|
| The /etc/xinetd.d directory doesn't exist. | Get the xinetd package and install it. |
| The /etc/xinetd.d/telnet file doesn't exist. | Get the telnet-server package and install it. |
| The /etc/xinetd.d/rsh (for rlogin) file doesn't exist. | Get the rsh-server package and install it. |
| I can't telnet or rlogin as root. |
edit /etc/pam.d/login
Insert a # at the beginning of the following line: auth required /lib/security/pam_securetty.so |
Linux Quick Reference Home
Linux Migration Home