[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Setting up FTP Server RedHat ES3

Posted on 2004-11-11
7
Medium Priority
?
392 Views
Last Modified: 2010-03-17
Can someone show me how to set up an FTP server on Redhat.  I downloaded webmin, but it says that wu-ftp, and proftp are not installed on my system.

Any help for a Linux novice would be appreciated.
0
Comment
Question by:Intern
  • 4
  • 3
7 Comments
 
LVL 14

Expert Comment

by:pablouruguay
ID: 12556804
ok first download proftpd from ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.10.tar.gz

after that

gunzip proftpd-1.2.10.tar.gz
tar -xvf proftpd-1.2.10.tar

./configure
make
make install


go to configure file

vi /usr/local/etc/proftpd.conf

and change attributes all commands are commented in this file

after that copy this script to /etc/init.d/
sourceofpackage/proftpd-1.2.10/contrib/dist/rpm/proftpd.init.d

after that do
chkconfig --add proftpd.init.d
chconfig --level 2345 proftpd.init.d

thats all





0
 
LVL 1

Author Comment

by:Intern
ID: 12556923
I did get vsftpd to work and I logged in as "ftp", is there any advantage of using proftpd over vsftpd?  The only thing that we want to use ftp for is to have one directory to dump database import files to, and nothing else.

I would also like to lock down the "ftp" user and create a new user called "oracleftp" and have that user only have access to one directory ( /home/oracle/import ).

If vsftpd will work then I might as well use that, can you possibly help me with creating this new user and directory, as well as getting rid of the "ftp" user?

Thanks
0
 
LVL 14

Accepted Solution

by:
pablouruguay earned 2000 total points
ID: 12557000
no the vsftp is ok for this jobs.

ooooooohhhhhhhhh    i only have experience in proftp with virtual host. like you mentiones... but check this url is the conf you ned it if not.. i have the rigth configuration for your proftpd

http://usenet.jyxo.cz/cz.comp.linux/0403/vsftpd-xinetd-virtual-users-permissions.html



0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 1

Author Comment

by:Intern
ID: 12557090
Maybe you can still help me with this one problem, I created a user called oracleftp, and made his home directory /home/oracle/import.  And then ftp'd the server and here is what I got:

User (10.1.9.80:(none)): oracleftp
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/oracle/import
500 OOPS: child died
Connection closed by remote host.
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 12557184
ok maybe you have wrong perms in this directory because oracle is oracle owner and oracleftp cant pass througt this directory maybe you need to create

/home/oracleftp  
0
 
LVL 1

Author Comment

by:Intern
ID: 12557363
Worked great thanks
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 12557389
your welcome
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question