LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-24-2003, 09:11 AM   #1
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Rep: Reputation: 15
ftp server noob ?


allright, i am completely a noob, i am trying to set up a ftp server. i am running slack 9 and i guess it comes with Proftpd on it. I opened the proftpd.conf file and edited it according to instructions on the net. I am pretty sure that is not the problem. I do a ps aux | grep ftp and i don't see that it is running. I did a netstat -a and i saw that something *:ftp *:* Listen
I dont know where my xinet.d file is located or if i even have to edit that file to make it work. When i try to ftp in i get a connection and then a 421 service not avalable: remote server closed connection. I do have a firewall running which i would like to keep running. I have added commands into my script (and checked this) to open ports 20, 21, 22, 23, and 53. They are set to allow all NEW RELATED and ESTABLISHED connections on these ports. If needed i can post my proftpd.conf file. What do i need to do to run this thing?
Will i be able to ftp in from my win2k machine once i do? How do i set up new users? i have one user in there that my friend ssh'ed in and set up and another user named ftp i guess. the conf file said not to remove it or it would allow anonymous login which i don't want.
 
Old 06-24-2003, 09:25 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
My first suggestion would be to remove the firewall and see if you still get the problem, that way you'll know if you need to look into your iptables rules or not.

Once the server is up and running then yeah you'll be able to connect from your Win2K machine, although if its on a LAN then you may want to condier using Samba instead of FTP if you need to move files easily to/from Windows boxes. Setting up new users is a case of adding normal Linux uses via the adduser command. If these are untrusted users then you'll want to consider the defaultroot command in proftpd.conf.

HTH

Jamie...
 
Old 06-24-2003, 02:06 PM   #3
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Original Poster
Rep: Reputation: 15
allright i am setting vs up on both my red hat virtual machine via vmware and my soon to be server laptop slack 9. I guess i have a few more questions though. first of all, i installed the vsftpd rpm in red hat, when i go to the services manager it wont let me start it because i need to enable xinetd except that i have already ran the xinetd and restarted. I opened xinetd.conf and it didn't look like anything in there would have anything to do with running my vsftd. I edited the vsftpd.conf file to do everything i want such as not allow anonynous login. I figured i would just stick the green lettered vsftpd in /etc/rc.d/init.d and reboot but i am not sure if that is proper. The second question is i look oon rpmseek.com and found that vsftpd rpm but each one seems to be specified for a specific type of linux such as madrake or red hat 8 etc. Which one do i download for slack9 cause it doesn't have one for slack9. Should i get the SuSe one?
 
Old 06-24-2003, 02:11 PM   #4
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Original Poster
Rep: Reputation: 15
also how do i get the proftpd unistalled in slack9?
 
Old 06-24-2003, 02:44 PM   #5
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Original Poster
Rep: Reputation: 15
?
 
Old 06-24-2003, 03:16 PM   #6
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Original Poster
Rep: Reputation: 15
allright i got vsftp working on my red hat virtual machine. that was rather easy i answered my own questions after reading some more and spending a hour or so. somehow i feel like the only one posting in this post. Anyway, i still dont know how to get vsftp on my slack9 machine. It may even not be possible. i tried installing the red hat rpm but i gave me errors. am i stuck with proftp? anyway, i will go read some more and i will be back to answer myself again in a minute unless someone happens to decide to respond. thankyou jharris for the response however i know my firewall isn't the problem since turning it off and trying again was the first thing i did. the adduser thing helped however, now i am more caught up on just getting vsftp on slack9 cause i think i understand it and i have heard it was a lot more secure.
 
Old 06-24-2003, 04:39 PM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
You'll need to install from source on the Slackware machine, unless you can find a suitable slackware package. I'm going to be installing vsftpd on Slack9 myself in the next couple of weeks, having read through the documentation that comes with the source code is looks pretty simple. Take a look, I just found the vsftpd homepage by googling for it.

cheers

Jamie...
 
Old 06-24-2003, 05:53 PM   #8
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Original Poster
Rep: Reputation: 15
thanks jamie you da schiznit!! I found the instructions so i am walking through them now. Thanks again for the help!!!
 
  


Reply



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
ftp to home computer? (noob) babag Linux - Networking 3 06-27-2005 11:12 AM
noob question - ftp? babag Linux - Networking 6 06-22-2005 01:15 PM
Noob wants FTP and WebServer scdark Linux - Software 12 05-26-2005 10:05 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
noob FTP question ... marlor Linux - Networking 4 08-01-2004 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 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
Open Source Consulting | Domain Registration