[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FTP Default Directory
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: FTP Default Directory
- From: Matt Sauve-Frankel <baud_(_at_)_philosophiebleue_(_dot_)_com>
- Date: Tue, 25 Sep 2001 12:31:20 -0400
- Reply-to: baud_(_at_)_philosophiebleue_(_dot_)_com
On Mon, Aug 20, 2001 at 09:39:09PM -0400, Michael Cornwell wrote:
> I am setting up a FTP server using OBSD 2.9. I don't want anonymous FTP
> access, but I do want several of the users to be jailed into a common
> (/home/xyz) directory. Does anyone have any suggestion to set this up? I
> have checked the ftpd man pages and the FAQ's.
You can achieve this by creating a special login class for your FTP users
the ftp-dir: variable allows you to set a common ftp root for a class of users.
this will allow you to let your users keep their home directories.
you can assign a class to your users by entering their class name in
the fifth field of the passwd file with vipw.
read ftpd(8), login.conf(5) and passwd(5)
Matt Sauve-Frankel ||Philosophie Bleue http://philosophiebleue.com
Network Administrator || http://philosophyblue.com
Visit your host, monkey.org