Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
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.
I am unable to run Proftp because it says there is there is already an ftp daemon running.
I have looked at the processes running and there is no ftp listed.
Someone has told me that linux has its own ftp built in, is this true? if so..
1) how do I use it
2) how do I stop it
3) how do I leave it running and run another ftp server?
Try ps -e | grep ftp to see what FTP server you may have running. But the problem might be that inetd (or xinetd) is listening on port 21 in order to launch an FTP daemon upon connections to port 21. Did you try FTP'ing to yourself and see what happens?
Originally posted by fuelinjection If inetd is listening on port 21, how do I stop it? would this be done in the conf file mentioned by trickykid?
What distribution are you running as there could be several ways to stop|start|restart the inetd daemon. And yes, you comment the line in your inetd.conf file if you don't want FTP starting from this file and daemon and want it sort of standalone from it.
Originally posted by fuelinjection I'm running VectorLinux, I've just added info to my signature so everyone can see
Vector is Slackware based so I'm sure its already got Proftpd running and launching from your inetd daemon.
I would suggest to keep things simple, keep your existing proftpd installation instead, all you have to do is configure it how you want as there will be a proftpd.conf file in your /etc and you can stop and start it using the inetd, etc.
You can most likely upgrade it using the tgz Slackware packages if you want to do that with ease, etc.
Originally posted by fuelinjection ok problem solved.
I edited the inetd.conf file in the /etc/ folder, and removed the line which specified to load ftp at boot.
Now when I run my own ftp executable, it works fine and I can connect to the server.
Anyonw know how I change the folder that an ftp user has access to?
By default its their home directory, so change that. If you don't want them to be able to browse your whole directory tree, look into chroot to jail them to their home directory.
Also if you don't want to give them an actual shell access, make their shell as something like /bin/false and add that shell to your /etc/shells file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.