[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ftp question
- To: Nick Holland <nick@holland-consulting.net>
- Subject: Re: ftp question
- From: Dan Harnett <danh@wzrd.com>
- Date: Wed, 1 Aug 2001 09:24:05 -0400
- Cc: "Misc @OpenBSD" <misc@openbsd.org>
- Content-Disposition: inline
- References: <20010731140010.19be88b1.listbsd@terra.com.br> <3B6766C4.B6A5310@holland-consulting.net>
- User-Agent: Mutt/1.2.5i
On Tue, Jul 31, 2001 at 10:17:40PM -0400, Nick Holland wrote:
>
> Apparently, as soon as ftp saw that obsd had a shell of /usr/bin/false
> and wasn't in ftpchroot, it rejected me. When I changed obsd's shell
> back to ksh, I could log in and poke around in places I "didn't
> belong". Could this be your problem?
>
I didn't see anyone mention /etc/shells. ftpd checks /etc/shells for a
valid shell (see ftpd(8) and shells(5)). If /usr/bin/false was not
listed, then access is denied whether the user is listed in
/etc/ftpchroot or not.
--
Dan Harnett <danh@wzrd.com>