LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2005, 10:54 AM   #1
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Rep: Reputation: 15
Setting up an FTP Server with Redhat 9


Hi, please excuse my linux ignorance as I am very new to it.

I am, trying to setup a web-server allowing me and a few others to connect to it and upload files. I really have not a clue what I'm doing, can anyone please explain to me what to do, or know a url clearly explaining how to setup an FTP server with Redhat.

Thanks
 
Old 06-26-2005, 11:20 AM   #2
nazir
Member
 
Registered: Apr 2002
Location: Poland, Gliwice/Pszczyna
Distribution: Mandrake, Slackware
Posts: 41

Rep: Reputation: 15
AFAIR, RH9 has vsftpd
If you don't have it installed download and install rpm vsftpd-1.1.3-8.i386.rpm
I don't know if it has included default config files so i'll give you mine as an example. Read documentation for details

/etc/vsftpd.conf

Code:
nopriv_user=vsftp
ftp_username=ftp
secure_chroot_dir=/usr/share/empty
anonymous_enable=NO
local_enable=YES
ftpd_banner="Hello"
dirmessage_enable=YES
message_file=.dirmessage
hide_file=Maildir
write_enable=YES
local_max_rate=0
userlist_enable=YES
userlist_deny=YES
userlist_file=/etc/vsftpd.user_list
chroot_list_enable=YES
chroot_local_user=YES
chroot_list_file=/etc/vsftpd.chroot_list
text_userdb_names=YES
xferlog_enable=YES
xferlog_std_format=NO
vsftpd_log_file=/var/log/vsftpd.log
idle_session_timeout=300
data_connection_timeout=60
accept_timeout=30
connect_from_port_20=YES
pasv_min_port=62100
pasv_max_port=62150
check_shell=NO
/etc/vsftpd.user_list - it contains users who shouldn't have acces to ftp

Code:
root
/etc/vsftpd.chroot_list - contains users, who won't be closed in chroot

Code:
some_user
Then you should add vsftpd to xined.d, AFAIR it is /etc/xinetd.d directory, you should have a called vsftpd there

Code:
service ftp
{
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/vsftpd
        nice                    = 10
        disable                 = no
}
then restart xined.d and it should work
 
Old 06-27-2005, 05:57 PM   #3
jungleking
LQ Newbie
 
Registered: Jun 2005
Location: Wells, Somerset, UK
Distribution: Ubuntu Dapper, Suse 10, Debian 3.1
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks very much for the info, but I seem to be having a few problems.

Quote:
Originally posted by nazir

Then you should add vsftpd to xined.d, AFAIR it is /etc/xinetd.d directory, you should have a called vsftpd there

Code:
service ftp
{
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/vsftpd
        nice                    = 10
        disable                 = no
}
then restart xined.d and it should work [/B]
I don't understand this step, what exactly am I adding to where, and how do I run xined.d, there appear to be no executable files there, and when do I specify users passwords and home directories?

Please forgive my n00bness!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up an ftp server Jmcatch742 Linux - Newbie 3 04-10-2005 06:21 PM
Setting up a FTP server and Game server Spyiish Slackware 38 11-01-2004 06:32 AM
setting up FTP server sulfur Linux - Newbie 4 09-02-2004 08:48 PM
Setting up an FTP server jwijesundra Linux - Networking 10 07-13-2004 08:24 AM
Setting up FTP Server for Redhat 8.0 Torm3nt Linux - General 4 12-15-2002 08:28 AM


All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration