vsftpd setup for multiple users

Posted on 2004-11-22
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


    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

    LVL 5

    Accepted Solution

    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

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    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…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    729 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now