From owner-freebsd-questions Sat Aug 28 18:18: 5 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 38E2B153C8 for ; Sat, 28 Aug 1999 18:17:50 -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 11KtZ7-0003ez-00; Sat, 28 Aug 1999 18:15:25 -0700 Message-ID: <000801bef1bc$fe046880$0c323fd1@default> From: "Guy Phillips" To: "Doug" Cc: "Andrew Boothman" , References: <000801bef1a5$d6174660$0c323fd1@default> <37C873CA.C84F34AF@gorean.org> Subject: Re: Adduser Warnings Date: Sat, 28 Aug 1999 18:22:38 -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 Thanks Doug, You got me thinking as I sat at the screen thinking about changing all the users, a daunting task to be sure. I copied the nologin shell to the bin file and then renamed it to ftponly. Now I have an actual executable shell called ftponly that restricts telnet access and allows ftp access with no annoying error messages when I add users. :)))) Didn't have to chpass a single user!! Thanks everybody!! Guy Phillips ----- Original Message ----- From: Doug To: Guy Phillips Cc: Andrew Boothman ; Sent: Saturday, August 28, 1999 4:42 PM Subject: Re: Adduser Warnings > Guy Phillips wrote: > > > > Hi Andrew, > > > > Thanks for the input. > > I actually tried that approach and it did block telnet access. > > Unfortunately, it also blocked the FTP access. I want this to be strictly a > > password ftp site for over 100 users at last count. Each user is restricted > > to their own directory and can not see all the other users. Only 2 master > > users can see the entire tree and they also do not have telnet access. > > I believe what you need to do is put your special shell in /etc/shells. If > it's already in there, try 'touch /bin/ftponly'. > > Good luck, > > Doug > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message