Well not sure if this is the best way to do it but here is what I did.
Please enlighten me if what I did is incorrect or poses some security flaws.
First I created a user , lets call him myuser with no shell access
I pointed his home directory to /var/ftp/myuser ( I created the myuser dir
first)
I then added myuser to vsftpd.chroot_list so he only has access to
/var/ftp/myuser
I changed group for myuser to be ftp
I left owner as root
Inside /var/ftp/myuser I created the following directories: incoming and
outgoing
For the incoming directory I allowed write access by changing owner to
myuser
For the outgoing directory I only allowed read access.


Now this does what I want it to do, but I am not sure how "secure" this is.


Richard Humphrey

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Andrew Robinson
Sent: Friday, March 14, 2003 9:57 AM
To: [EMAIL PROTECTED]
Subject: Re: FTP

I'm about to configure a similar box. If you would, please post that
configuration to the list.

Thanks!

Andrew Robinson

At 09:15 AM 3/14/2003 -0600, you wrote:
>On Fri, Mar 14, 2003 at 08:23:06AM -0600, Richard Humphrey wrote:
> > I am currently working on setting up our company FTP server. What we are
> > looking for is to set it up with a specified username/password that
> only our
> > distributors have access to. I would like to create 2 directories. The
> first
> > one would be a directory that would allow them to upload files (need
write
> > access) and another directory that is read-only. My server is running RH
8
> > and uses vsftpd. I have read various ways of setting this up, but I am
new
> > to Linux and don't really understand which is the best way. Is it best
to
> > create a user <ftpuser> and just have them access the home directory? I
> want
> > to allow them to upload, but not rename or delete any of the directories
> > etc. How should I go about this? I know there are similar posts in here
> > about vsftp but not sure how they apply to my situation.
>
>I do this with hundreds of customer accounts with wu-ftpd.  If you're
>willing to switch servers to wu-ftpd, drop me an e-mail and I'll let you
>know how I've got things set up.  Since I've never used vsftpd, my setup
>may not work in your environment and it's not the kind of thing you can
>afford to get wrong.
>
>         .../Ed
>
>--
>Ed Wilts, Mounds View, MN, USA
>mailto:[EMAIL PROTECTED]
>Member #1, Red Hat Community Ambassador Program
>
>
>
>--
>redhat-list mailing list
>unsubscribe mailto:[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list


************************************************************************
* Andrew W. Robinson                     | Voice:  +1 (504)-378-0179   *
* Computerized Processes Unlimited, LLC. | FAX:    +1 (504)-889-2799   *
* 4200 S. I-10 Service Rd., Suite 205    | E-Mail: [EMAIL PROTECTED]         *
* Metairie, LA 70001                     | WWW: http://www.cpu.com     *
*                  "Consulting System Integrators"                     *
************************************************************************



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to