From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 090FF2F1CF for ; Wed, 20 Dec 2000 12:33:36 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eBKHXZL29505 for axp-list@listman.redhat.com; Wed, 20 Dec 2000 12:33:35 -0500 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eBKHXZD29496 for ; Wed, 20 Dec 2000 12:33:35 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id KAA01896 for axp-list@redhat.com; Wed, 20 Dec 2000 10:33:32 -0700 Date: Wed, 20 Dec 2000 10:33:32 -0700 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: Allowing ftp but not a shell Message-ID: <20001220103332.B1797@ellpspace.math.ualberta.ca> References: <20001218084341.A30649@ellpspace.math.ualberta.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: ; from Brock Noland on Tue, Dec 19, 2000 at 11:28:06AM -0500 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Tue, Dec 19, 2000 at 11:28:06AM -0500, Brock Noland wrote: > > > >You may always give /bin/false as a "shell". The only thing is that > >in such case /bin/false has to be listed in /etc/shells or things may > >not work. Do not give a shell script for a "shell" if you are concerned > >with security like you should be. > > > I tried this before but it said not a vaild command executer. Who said that? ftpd daemon? This is an /etc/passwd entry from the real, live, and functioning system which happens to run wu-ftpd: yyyyy:x:608:259:FTP Guest Account:/home/ftp/./yyyyy:/bin/false (names and id's changed to protect innocents) > This maybe > because I am using userconf instead of useradd and the command line > utilites?? Maybe. Possibly they are trying to be too smart for their own good. File a bug report. In the meantime there are such fine tools like 'vipw' (and do not forget /etc/shadow if you are using that one). Michal