?
Solved

VSFTPD on Ubuntu -- adding users

Posted on 2013-11-05
1
Medium Priority
?
284 Views
Last Modified: 2015-02-16
We're setting up an FTP server on Ubuntu 12. We need to create individual directories for clients and allow only certain users to access these directories. We also have an internal user group that has access to the top-level directory which contains all of our client directories.

I've looked at this option (link below) but I'm concerned that it just allows new users to access their own home folders, which is not of interest to us. We need to set rights and permissions for users and groups along the same lines as a Windows server. We're fine with command line and conf files, we don't need a GUI. We just need a clear path to the goal.

http://www.hosting.com/support/linux/adding-ftp-users-for-vsftp/

We do have the server running and local users can get access of sorts over sftp using FTP client software. Just need to sort out folder access.

How do we set up users, and then specify who gets access to what? Is there a step-by-step guide out there?
0
Comment
Question by:d4nnyo
1 Comment
 
LVL 9

Accepted Solution

by:
jfer0x01 earned 2000 total points
ID: 39844746
1. Make a group(or series of groups) to access folders of interest.
2. chown -R "folder owner name" (like root):"groupname "the folder path"
3. useradd -G "groupname" "-d "share location path " usernames" separated by spaces
4.passwd "usernames" (to set-up passwords)
http://www.cyberciti.biz/faq/ubuntu-add-user-to-group/

This would work for user accounts with system access.

If you want to use non-system accounts to use ftp, use this guide.
http://ubuntuforums.org/showthread.php?t=518293&s=6f72cd8732ec0b259f75a282f119209e&p=3138955#post3138955

Hope this helps.

Jfer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In a previous article published here at Experts Exchange, Signature Image with Transparent Background (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_12380-Signature-Image-with-Transparent-Background.html), I explained how to cre…
In a previous article here at Experts Exchange (http://www.experts-exchange.com/articles/18414/Create-a-PDF-file-with-Contact-Sheets-montage-of-thumbnails-for-all-JPG-files-in-a-folder-and-each-of-its-subfolders-using-an-automated-batch-method.html)…
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

840 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