Subject: Re: 530 User root may not use FTP (invalid shell). ? :(
To: None <einarson@cafe.net>
From: Ken Nakata <knakata@itpjp.co.jp>
List: port-mac68k
Date: 01/06/1999 12:19:22
On Tue, 05 Jan 1999 21:56:07 -0500, Dale Einarson wrote:
> 
> When I try to ftp as any user I get 
> 
> 331 Password required for root.
> 530 User root may not use FTP (invalid shell).
> logon failure, so quitting
> 
> what is wrong?  I looked at the man page and the mail archives.  I have
> made sure of the following
> 1.)  /etc/inet.conf has the entry:	ftp		stream	tcp	nowait	root
> /usr/libexec/ftpd	ftpd -lC  ( org ftpd -ll )
> 2.)  /etc/ftpuser has the entry:		root allow <cr> *  allow <cr>toor deny
> <cr> uucp deny
> 3.) there is no /etc/noligin	
> 4.)  I have played with the ftpd -?? l, C, ll, lC  etc...

Check /etc/shells and see if it looks like this:

---8<--8<--8<---
#	$NetBSD: shells,v 1.3 1996/12/29 03:23:07 mrg Exp $
#
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/bin/ksh
/usr/pkg/bin/bash
---8<--8<--8<---

I think the comment in this file says it all.

Ken