1830241 Members
5066 Online
109999 Solutions
New Discussion

enable ftp

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

enable ftp

I had installed redhat linux 7.2 but i can not make ftp to this server. i was searching for /etc/xinetd.d/wu-ftp archive but no exist. how can i enable ftp service? in my instalation i dont select "server ftp(anonimous) option.

thanks
4 REPLIES 4
Vernon Brown_1
Frequent Advisor
Solution

Re: enable ftp

You probably did not install the FTP packages. If this is a new install the best way would be to re-install and select the FTP module this time.
Huc_1
Honored Contributor

Re: enable ftp

Ruiz,
To find out what ftp is on your 7.2 you can do something like the following

locate ftp

or an even more fine search

locate ftp | grep -i "wuftp"

this will find out what and where wuftp is install ( if present ) this method is a good all round method (like if packages have not been installed with rpm)

if packages have been installed with rpm the the command

# rpm -ql ftp

Will tell you what and where this is a good method for rpm installed ( most packages will have been installed using this rpm on Redhat distributions)

also most services will have an entry in /etc/rc.d/init.d/

so an
ls -l /etc/rc.d/init.d/

will show you most available services

and a more refined mrthode would be

# grep "ftp" /etc/rc.d/init.d/

If the package is installed and the service is there then you can check this with
the command service

ex:

#service lpd status

will return the status of lpd the command

#service lpd help

will show all option you can pass to service lpd


....Now in the case of ftp you have to check that your firewall permits this port (usualy ftp or 21 ) to let connection pass to check this use

#ipchains -L

or

#iptables -L

which one (ipchains or iptables) depends on what fire wall your system uses.

an other method is to scan your port like

#nmap 'ipname OR ipaddress'

hope this help

J-P


Smile I will feel the difference
Edwin Ruiz_2
Super Advisor

Re: enable ftp

thanks for all
Steven E. Protter
Exalted Contributor

Re: enable ftp

Just a clarification,

You don't have to choose anonymous ftp server to have the ftp server installed.

Red Hat has on the cd's two choices for ftp server.

1 is the venerable wuftpd
2 is the newly written vsftp

The second one is what red hat uses on their own web site. It scales pretty well.

I would only do anonymous ftp if you really want anyone and everyone to be able to access your server without an id.

A regular ftp install will at least let you keep anonymous folks off.

In the Red Hat 7.2 install program their are choices for the two ftp programs above.

You can get the latest rpms from red hat or washington university if you wish.

Once you do that, the /etc/xinetd.d/wu-ftp directory should exist.

You will probably still have to change the line disable=yes to disable=no

and

service xinetd restart

Then ftp will be authorized based on normal clear text user authentication.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com