Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


vsftpd setup for multiple users

Posted on 2004-11-22
Medium Priority
Last Modified: 2012-06-21
I am fairly new to linux and I am using SUSE 9.1 I want to configure vsftpd to allow local users to login remotely and have their public_html directory be the only directory accessable to them.  I have tried changing the vsftpd.conf, but I think I'm not understanding some of the terminology.  I can't seem to get vsftpd to be anything other than an anonomyous server.
Question by:lthorup
LVL 38

Expert Comment

ID: 12650533

You might want to check with the following URLs:
 change the VSFTP configuration to allow local user logins. To do this, edit the file /etc/vsftpd.conf and uncomment the line "local_enable=YES".
And add user locally


Accepted Solution

paranoidcookie earned 150 total points
ID: 12652945
You might also want to adde write_enable = yes to allow users to put files

To only allow users access to one directory
chroot_local_users=yes will jail them in home if you only ever want them to be able to write to public_html you could change their home directory to public_html then when they ftp thats all they will be able to access

usermod -d /home/username/public_html username

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question