Solved

VSFTPD on Ubuntu -- adding users

Posted on 2013-11-05
1
222 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 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

832 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