Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Allowing ftp but not a shell
Date: Wed, 20 Dec 2000 10:33:32 -0700	[thread overview]
Message-ID: <20001220103332.B1797@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <Pine.LNX.4.21.0012191126100.9388-100000@nolandbros.com>; from Brock Noland on Tue, Dec 19, 2000 at 11:28:06AM -0500

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




  reply	other threads:[~2000-12-20 17:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-18  2:57 Allowing ftp but not a shell Brock Noland
2000-12-18  4:35 ` J Bacher
2000-12-18 15:43 ` Michal Jaegermann
2000-12-19 16:28   ` Brock Noland
2000-12-20 17:33     ` Michal Jaegermann [this message]
2000-12-20 17:43       ` Liam Bedford
  -- strict thread matches above, loose matches on Subject: below --
2000-12-18 15:21 Peter Petrakis
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox