Solved

VSFTPD on Ubuntu -- adding users

Posted on 2013-11-05
1
251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When the confidentiality and security of your data is a must, trust the highly encrypted cloud fax portfolio used by 12 million businesses worldwide, including nearly half of the Fortune 500.
This video is the second in a two-part series that discusses PaperPort's "Send To Bar" feature . The first video tutorial (http://www.experts-exchange.com/VP_207.html) explains the purpose of the Send To Bar, how to use it, and how to hide unwanted …
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

691 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