Operating System - Linux
1826291 Members
4666 Online
109692 Solutions
New Discussion

Re: ftp and remote telnet not working in linux 7.0

 
SOLVED
Go to solution
WilliamSmith11
Super Advisor

ftp and remote telnet not working in linux 7.0

Hi
I am really new in linx systems ,

I have customer that have a machine running linux 7.0 with the folowing problem .

He is trying to do telnet and ftp from other machines but send the error 530.

I look for other reference in the forum and find some more or less the same case,

I check the /etc/xinetd , the telnet and wu-ftpd file

desable yes=no

same for wu-ftpd

.
I do the following command to restart xinetd but it does not work

#cd /etc
#xinetd restart

I check fot the /etc/xinetd.conf

and this was the output

#more /etc/xinetd.conf

#
#Simple configuration file for xinetd
#
#Some defaultsand include /etc/xinetd/
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d

How you can see there in not any telnet line in this file ..

Some idea?

The customer will restart the system completly tonight.

Thank you .

W.S


rperez
6 REPLIES 6
Ivan Ferreira
Honored Contributor
Solution

Re: ftp and remote telnet not working in linux 7.0

It should be:

disable = no

Maybe you only mistaken when typed in.

Ensure that the xinetd service is restarted after the changes.

Ensure that no firewall services are preventing the access.

Verify the configuration of /etc/hosts.allow and /etc/hosts.deny.

Check the /var/log/messages and /var/log/secure files
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
WilliamSmith11
Super Advisor

Re: ftp and remote telnet not working in linux 7.0

with whitch command I will restart the xinetd

What I must look for in the logs that you suggest that I see.

W.S
rperez
Indrajit_1
Valued Contributor

Re: ftp and remote telnet not working in linux 7.0

Hi Smith,

you do the followin steps..

#vi /etc/xinetd.d/telnet

(make a chage in the file "telnet")

disable=no
save and come out
#service xinetd restart
Do same for wu-ftp..

Also check if firewall is enagle in ur linux machine..
#iptables -A
if it is enable, disable the firewall.. see man iptables ..

Hope it would solve ur issue..

cheers
indrajit
Never Ever Give Up
Alexander Chuzhoy
Honored Contributor

Re: ftp and remote telnet not working in linux 7.0

the command
service xinetd restart
restarts the xinetd service
Muthukumar_5
Honored Contributor

Re: ftp and remote telnet not working in linux 7.0

It is a problem with iptables (firewall). Disable all firewall settings. # iptables -l will give all. Disable them.

Check also telnet daemon startup. Try to restart telnet deamon service script as,

/etc/init.d/telnetd restart

hth.

Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: ftp and remote telnet not working in linux 7.0

If you are using xinetd then service xinetd restart will work.

hth.
Easy to suggest when don't know about the problem!