Date: Fri, 21 Feb 2003 06:59:51 +0100 From: Cliff Sarginson <cls@raggedclown.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: ftp users - question Message-ID: <20030221055951.GA96171@raggedclown.net> In-Reply-To: <20030220231312.GA66761@grimoire.chen.org.nz> References: <005d01c2d92d$8d70c990$0701a8c0@darryl> <20030220231312.GA66761@grimoire.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 21, 2003 at 12:13:12PM +1300, Jonathan Chen wrote: > On Thu, Feb 20, 2003 at 04:15:18PM -0600, Darryl Hoar wrote: > > Greetings, > > I have a machine setup running 4.7 - stable. It is an internal machine. > > How do I setup a user (so they can upload with ftp) but can't login at > > the shell ? Is this possible ? > > Set up the users with a non-existent shell (eg: /nonexistent), and add > the non-existent shell entry into /etc/shells. Conventionally such users woud be given a shell of "/sbin/nologin", which must also be added into the list contained in "/etc/shells". The program "/sbin/nologin" already exists, so no need to create it. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030221055951.GA96171>