Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-19-2009, 03:37 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Post proftpd help from ground up. (user permissions)

hi all,

using linux for a few months now as a web dev.. its great.
so i've been trying to get proftpd running on a centOS server,
so far i've managed: - get it up and running as a standalone server
2.created a ftpuser group and assigning a user to it
3.instructed proftpd to use "ftpuser" usergroup as users

Now i'd need help in doing these,

-so far the users when logged into the ftp may run around all over the server, how do i restrict them to their own folder? chroot?

-i would like the "ftpuser" group to be able to read / write to a folder mainly to the "/var/www" folder.

-how do i configure proftpd so that the "/var/www" folder will appear to which ever user that logs into the ftpserver?

-any security issues i should be aware off?

thanks in advance.
any help or links to tutorials would be very much apprieciated!
Old 02-20-2009, 02:26 AM   #2
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 307

Rep: Reputation: 38
It's been a long time since I did this, but you need to chroot to ~ if memory serves in the global area of the config.

As for showing /var/www there's another option to allow following symlinking you can add to the global conf area and then just put a ln -s /var/www in each home directory.

Sorry it's a bit sketchy, if you get really stuck shout back and I'll look them up but the examples are or used to all be on the ProFTPd website along with the documentation.
Old 02-24-2009, 10:10 PM   #3
LQ Newbie
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
sorry for the delayed reply...
i'm gonna try to play with it once my app is done.
thank you very much for the reply



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
Proftpd user directory permissions Th3_J3st3R Linux - Server 1 10-19-2007 08:54 AM
proftpd user permissions harleys Linux - Server 3 12-01-2006 11:38 AM
Proftpd user permissions powadha Linux - Software 1 09-21-2005 01:18 PM
Proftpd User Permissions discrepant Linux - Newbie 1 03-17-2005 04:33 PM
Mandrkae Proftpd user permissions slipsy Linux - Newbie 1 09-10-2003 02:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 PM.

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