[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: VSFTP configuration
- From: Michael Gargiullo <mgargiullo warpdrive net>
- To: redhat mailing list <redhat-list redhat com>
- Subject: Re: VSFTP configuration
- Date: Tue Jul 1 14:32:11 2003
On Tue, 2003-07-01 at 14:20, Bret Hughes wrote:
> On Tue, 2003-07-01 at 12:42, Mark Haney wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I'm having some trouble with getting vsftp configured for my setup.
> > I hope it's possible to set it up without having to re-do everything.
> > Here's the deal, we are finaly moving from IIS to Apache for our web
> > server. That's a good thing. Our IIS server was hacked some weeks
> > ago and hasn't been the same since. Now, I want to be able to setup
> > ftp access for our teachers and staff who publish their webpages
> > (some with FrontPage, others with Dreamweaver) but I haven't been
> > able to figure out how to get vsftp to just default to a specific
> > directory (ie the location of our webpages). Is this even possible?
> > Or should I look for another ftp daemon that does this? Hope anyone
> > has any ideas.
> >
>
> Mark -
>
Create linux users then set their home directory to the web directory.
usermod -d /var/www/html <username>
I'd create a group (ie teachers), then assign the users to that group
as well.
groupadd teachers
usermod -G teachers <username>
Then chown apache:teachers * in you r web directory. Don't forget chmod
664 * in the web directory to allow apache and teachers to write to the
dir.
That should do it. You may have to change the default permissions in
vsftp.conf though.
-Mike
--
Michael Gargiullo <mgargiullo warpdrive net>
Warp Drive Networks
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]