Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Distribution: Contiga Linux 2004 & SuSE Linux 9 Professional
Posts: 41
Rep:
I am surprised you even got the thing working. It has never worked for me. Ahh the day i dont have to pay $300 for tech support per incident. The Easiest way to do it is to change the permissions of the Folders. Make sure "Others" are set blank accross the screen and make sure you move your Main FTP folder at least 3 levels from the Root or "/" of the system.
How did you get past that? I've had that line in my proftpd for a long time. And I've tried getting to a lower level then the users home directory but it just wasn't possible. If you have a way in which you can get around the DefaultRoot besides the fact that you might have configured it wrong, then you might want to send it as a security alert to the maintainers of proftpd. My guess is that you configured something wrong because it really does work.
Just create normal users using the 'useradd' command. To remove a user you can use 'userdel'. To set the users password just run 'passwd username'. You will have to do all that as root.
Each user you create will by default get a directory /home/username as their home directory. Setting the line 'DefaultRoot ~' in your proftpd.conf file will make sure they can only access files in that directory and won't be able to see anything else on the filesystem. If you want one of the users to be able to see everything then you could change it to something like:
DefaultRoot ~ !specialuser
I'm sure a lot of these are all answered in the proftpd faq and the documentation on their site.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.