Solved

VSFTPD on Ubuntu -- adding users

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
Online collaboration can help businesses be more efficient, help employees grow their skills and foster a team environment.
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…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

895 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

13 Experts available now in Live!

Get 1:1 Help Now