How do I check to see if Telnet is configured correctly on my Linux machine? (NETIQKB31499)

  • 7731499
  • 02-Feb-2007
  • 27-Nov-2007

Resolution

goal
How do I check to see if Telnet is configured correctly on my Linux machine?

fact
VigilEnt Security Agent for Unix 3.x

fact
VigilEnt Security Agent for Unix 4.0

fact
VigilEnt Security Agent for Unix 5.0

cause
On some Linux installations, if ssh is not installed or configured, SNAIC may also be unable to telnet to the host. This problem may be due to incorrect telnet service xinetd settings.

fix
To check the xinetd settings on the Linux host, type the following commands:

cd /etc/xinetd.d more telnet

The response should be similar to the following:

# default: on
# description: The telnet server serves telnet sessions;\
it uses unencrypted username/password pairs for\
authentication.
service telnet
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

If a line is present with "disable" set to "yes", the service will not run. The administrator must change the "disable" setting to "no". The same is true for the WU-FTPD service.



Additional Information

Formerly known as NETIQKB31499