From owner-freebsd-questions Sat Aug 28 17:39:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from neptune.psn.net (neptune.psn.net [207.211.58.16]) by hub.freebsd.org (Postfix) with ESMTP id 0EB0C14DED for ; Sat, 28 Aug 1999 17:39:15 -0700 (PDT) (envelope-from guy@mrguy.com) Received: from 2-12.phx.psn.net ([209.63.50.12] helo=default) by neptune.psn.net with smtp (PSN Internet Service 2.12 #3) id 11KswZ-0002kZ-00; Sat, 28 Aug 1999 17:35:35 -0700 Message-ID: <000e01bef1b7$6d7bed60$0c323fd1@default> From: "Guy Phillips" To: "Andrew Boothman" Cc: References: Subject: Re: Adduser Warnings Date: Sat, 28 Aug 1999 17:42:49 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay! So slap me and call me stupid :)) I guess late night hours are getting to me. You are absolutely right. It seems I was neglecting to put the /sbin/nologin shell into the etc/shell file. Once I did that it produced the same result as the ftponly false shell and the error message for that user on the adduser command drops off. I'll go back and change them all again. Thanks, Guy Phillips ----- Original Message ----- From: Andrew Boothman To: Guy Phillips Cc: Sent: Saturday, August 28, 1999 2:30 PM Subject: RE: Adduser Warnings > > On 27-Aug-99 Geocrawler.com wrote: > > This message was sent from Geocrawler.com by "Guy Phillips" > > Be sure to reply to that address. > > > > I am using 3.2 stable. > > > > I blocked users access to telnet and only allowed ftp access. I did this in > > chpass by changing their shell to /bin/ftponly and then placing them in the > > ftpchroot file. Of course this shell does not exist. All works well!! None of > > the selected users can telnet in and they are locked into their home > > directories when using FTP. > > Surely it makes more sense to set the shell to /sbin/nologin and then the > system does understand what program to present users with when they login? > > --- > Andrew Boothman > FreeBSD UK User Group > http://ukug.uk.FreeBSD.org/~andrew/ > http://ukug.uk.FreeBSD.org/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message