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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-24-2003, 10:11 AM
|
#1
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Rep:
|
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.
|
|
|
06-24-2003, 10:25 AM
|
#2
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
06-24-2003, 03:06 PM
|
#3
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Original Poster
Rep:
|
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?
|
|
|
06-24-2003, 03:11 PM
|
#4
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Original Poster
Rep:
|
also how do i get the proftpd unistalled in slack9?
|
|
|
06-24-2003, 03:44 PM
|
#5
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Original Poster
Rep:
|
?
|
|
|
06-24-2003, 04:16 PM
|
#6
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Original Poster
Rep:
|
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.
|
|
|
06-24-2003, 05:39 PM
|
#7
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
06-24-2003, 06:53 PM
|
#8
|
Member
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117
Original Poster
Rep:
|
thanks jamie you da schiznit!! I found the instructions so i am walking through them now. Thanks again for the help!!!
|
|
|
All times are GMT -5. The time now is 05:44 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|