Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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?
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.
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.