1830624 Members
2131 Online
110015 Solutions
New Discussion

Re: Open telnet, ftp

 
file system
Frequent Advisor

Open telnet, ftp

Hi all
can you tell me the way that the above services are opened?

ver: Linux ES.
thank you
7 REPLIES 7
Slawomir Gora
Honored Contributor

Re: Open telnet, ftp

Hi,
I'm not sure what are you asking for.
But if you want to enable telnet, ftp on server
you can perform this by running command:
ntsysv



Sivakumar TS
Honored Contributor

Re: Open telnet, ftp


Hi,

#netstat -an

will give you the list of services opened and the associated ports.

With Regards,

Siva.
Nothing is Impossible !
Muthukumar_5
Honored Contributor

Re: Open telnet, ftp

Check as,

# netstat -na | grep -E '23|25'

# telnet localhost

# telnet localhost ftp

has to work without getting connection refused error.

-Muthu
Easy to suggest when don't know about the problem!
Ivan Ferreira
Honored Contributor

Re: Open telnet, ftp

If you use Red Hat ES, you need to:

Install the vsftpd and telnet-server packages. If not already installed, use:

redhat-config-packages

or

system-config-packages

Then enable the services using:

chkconfig vsftpd on
service vsftpd start

chkconfig telnet on
service xinetd reload

REMEMBER: Telnet should not be used any more, it's insecure and it's replaced by ssh. SSH is installed and enabled by default.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Delrish
Trusted Contributor

Re: Open telnet, ftp

make sure you have installed telnet-server and vsftp packages.
You can test it with following commands:
rpm -qa | grep vsftp
rpm -qa "grep telnet

After that, for starting FTP excute :
/etc/init.d/vsftpd start

for telnet, first you have to enable it in xinetd. for this issue edit /etc/xinetd.d/telnet and change "disable" option from "yes" to "no"
finally you have to restart xinetd:
/etc/init.d/xinetd restart

Alireza

Indrajit_1
Valued Contributor

Re: Open telnet, ftp

Hi;

After installing the rpm packages(vsftpd and telnetd) try the following commands

#ntsysv
Slect the check box of vsftpd..
#service vsftpd start
For Telnet..
#vi /etc/xinetd.d/telnet
Make disable=no
save and comeout...

#service xinetd restart

it should solve ur problem..

cheers
indrajit
Never Ever Give Up
Vipulinux
Respected Contributor

Re: Open telnet, ftp

Hi

If you want to see whether the above services are running on the machine give the foll command:
#nmap localhost

If you want to enable these services do the foll:
for telnet:
use ntsysv and select telnet and then give
#service inetd restart
or for ftp
edit /etc/vsftpd/vsftpd.conf and
service vsftpd start

-----
Cheers
Vipul