Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-02-2004, 03:07 AM   #16
Registered: Feb 2004
Location: Utah, USA
Distribution: Debian
Posts: 230

Rep: Reputation: 31

Not sure if you can just add a user for FTP and not add one to the machine. If you want to add a user to the machine (and then restrict or modify rights in proftpd) then add the user to the machine with:


and follow the prompts. Now you can edit your /usr/local/etc/proftpd.conf file and add the following to restrict that new user to his/her home directory, etc.

DefaultRoot ~ username

Play around with it.

And check out the docs for proftpd for other settings.

Last edited by hallamigo; 05-02-2004 at 03:08 AM.
Old 05-02-2004, 04:07 AM   #17
Registered: Aug 2003
Posts: 66

Rep: Reputation: 16
if you want to add virtual user, check out ftpasswd

a little handy tool to add virt users, and then you have to tell proftpd to actually use these users, which you doing with the AuthUserFile
Old 05-02-2004, 02:24 PM   #18
Registered: Apr 2004
Location: north of 52, south of 54
Distribution: slackware 10.0
Posts: 108

Original Poster
Rep: Reputation: 15
It works!! Thankyou guys!

Just one last problem...if you could please bear with me:

I want to set it so that there is a default ftp directory for all users, like /home/ftp, so that they can't access any higher level directories. The only full user of my server should be 'root'.

I've tried setting the home directory of each user as /home/ftp, but that doesn't seem to work, AND they still have access to higher level directories.

Do you guys know how to solve this?

-Thanks in advance


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount --bind doesn't work with proftpd Diotoir Linux - Newbie 2 08-23-2004 12:05 PM
Slackware 10 proftpd problem virus2547 Linux - Networking 5 08-19-2004 11:01 PM
Cant get proftpd to work ChrisNash Mandriva 8 08-25-2003 06:19 AM
ProFTPd Configuration Help on Slackware deesto Slackware 2 01-06-2003 04:58 PM
Proftpd 1.2.6 in Slackware 8.1 sitrus Slackware 3 11-10-2002 04:49 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:57 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