Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-29-2003, 04:38 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 4

Rep: Reputation: 0
Question Adding users in ProftpD

Hello all,

I have setup a linux box to act as a webserver (apache) and an FTP server (ProFTPD). I am having problems setting up user accounts with ProFTPD.

I want to have individual FTP users have read/write access to a specific folder within the webserver /var/www/html/users/userdir1

I have been messing around with directory permissions and have exausted all my brain power trying to get the ./adduser command to work.

I assume that I need to A) Create a system group (eg. "FTP") with read/write access to /var/www/html/users and B) create FTP users using adduser within that group that have access to a specific subdirectory like /var/www/html/users/userdir1 ?

Obviously I only want ftp users to have full access to that ONE directory within my server but I'm a little confused on how to go about setting this up.

I hate to ask to be spoonfed information, but could someone please walk me through the process of setting up a user account within proftpd which will have read/write access to a specific directory within the webserver /var/www/html/users/userdir1

Thanks in advance!!!
Old 04-20-2003, 12:22 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Have you tried reading the man pages for:


Basically create a group for access to the correct directory in question you want these users to have read/write access to.
Then create the user, then adding them to the proper group by editing your /etc/group file.

A small tip, if you don't want these users to have a valid shell but only FTP access, to upload and download files, edit your /etc/passwd file and make the users default shell /bin/false
Then edit your /etc/shell and add /bin/false to it. Now the users will be able to only login to the FTP to upload and download files only, preventing them shell access to your server.
Old 05-24-2009, 05:19 PM   #3
LQ Newbie
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Smile use webmin(GUI) tool

use the webmin(GUI) tool to remote administration of your server through web browser.
if you do not have you can get it from, there you can get information how to install it.

connect to your server through webmin

1.go to system/users and groups create a new user

create an username,
put the path of your Home directory(if select directory option),
let webmin pick the user id,
select as shell /bin/sh,
click on "normal password" and choose a password,
leave all other as webmin is offering, and ckick create.

that will create an user with a pass

try now to ftp to your.domain and log in as user/pass
Old 12-23-2009, 09:00 AM   #4
LQ Newbie
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
On my Linux OS is it:

Where I need to add the line:

Instead of:


linux, proftpd, shells, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a web account for Proftpd javamdk Linux - Software 2 07-30-2005 12:27 PM
ProFtpd and adding virtual users gbj Linux - Networking 0 03-17-2005 02:37 AM
proftpd - adding module in... Black_iCE_mdk Mandriva 9 06-08-2004 03:38 AM
Adding a new user to ProFTPD? WNxSquee Linux - Software 4 01-08-2004 08:01 AM
Problems Adding Privleged Users on Proftpd-1.2.8 George_Engelbre Linux - Networking 2 10-19-2003 09:10 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration