Solved

VSFTPD on Ubuntu -- adding users

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article provides the solution to a question (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28674207.html) posed here at Experts Exchange. The asker of the question has many JPG images in many folders, and all of t…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…
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…

760 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

19 Experts available now in Live!

Get 1:1 Help Now