From owner-freebsd-questions Fri Aug 31 18:54:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id E006437B40A for ; Fri, 31 Aug 2001 18:54:07 -0700 (PDT) Received: from xena.gsicomp.on.ca ([64.228.155.124]) by tomts14-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010901015407.YFKP8611.tomts14-srv.bellnexxia.net@xena.gsicomp.on.ca>; Fri, 31 Aug 2001 21:54:07 -0400 Received: from localhost (matt@localhost) by xena.gsicomp.on.ca (8.11.1/8.11.1) with ESMTP id f811lL102330; Fri, 31 Aug 2001 21:47:21 -0400 (EDT) (envelope-from matt@xena.gsicomp.on.ca) Date: Fri, 31 Aug 2001 21:47:20 -0400 (EDT) From: Matthew Emmerton To: want_2_learn_freebsd@hotmail.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: This isn't posible is it? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 31 Aug 2001 want_2_learn_freebsd@hotmail.com wrote: > I'd like to create unix users who only have ftp access, and there home > directory would be a folder on an NT share, AND have this user connect to > that share as themselves. First, you need to make the NT share accessible on the UNIX machine. This can be done using smbfs, but I haven't used it before. Check the FAQ or man pages for details. Next, create the users on your FreeBSD box and give them /bin/true as a shell and specify the appropriate directory in the smbfs filesystem as their homedir. You'll have to add /bin/true to the /etc/shells file in order for them to have FTP access. (/bin/true as a shell will prevent them from being able to log into the system. However, the FTP server wil let them in via FTP since their shell is listed in /etc/shells.) Next, place the usernames of these users in the /etc/ftpchroot file. This will "lock" them into their own home directories, so they can only access their files. As like anything in the UNIX world, YMMV. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message