The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Newbie Needs Help with FreeBSD Ftpd Server
Author: Chris Edmiston 
Date:   20-07-00 18:10

I'm pretty new to FreeBSD, but i understand servers pretty well, but i am stumped with this one...

Here's where I'm at: I've got FreeBSD 4.0 with Apache 1.3.12 and mod_perl and mod_php4 running. I realized that when i use adduser, it also allows ftp in their home directory....

But, I want to create ftp username and passwords that all have access to my /usr/local/www directory with full permissions (the directory apache reads from).

I don't want them to be able to access any other directory (not even view it's contents), and definatley not allow reading and writing of ANY other directory, including their home directory.

I don't want them to be able to view any directory other than /usr/local/www and directoies contained within (don't let them view /usr/local or /usr or root directory)

When they login via ftp it needs to set them directly into the /usr/local/www directory, not anything else.

Any help greatly appreciated,

Chris Edmiston

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Newbie Needs Help with FreeBSD Ftpd Server   new
Chris Edmiston 20-07-00 18:10 
 RE: Newbie Needs Help with FreeBSD Ftpd Server   new
Stu 22-07-00 12:46 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum