[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTP Default Directory



On Mon, Aug 20, 2001 at 09:39:09PM -0400, Michael Cornwell wrote:
> Hi,
> 
> 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