Subject: misc/13814: Missing comments on /etc/shells in ftpd (8) manpage
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Handtuch@t-online.de>
List: netbsd-bugs
Date: 08/29/2001 10:27:44
>Number:         13814
>Category:       misc
>Synopsis:       Missing comments on /etc/shells in ftpd (8) manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 29 01:41:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Sorg
>Release:        Manpage dates to July 8 2001
>Organization:
	
>Environment:
	
System: NetBSD distel 1.5X NetBSD 1.5X (Distel_ISDN) #3: Tue Aug 14 10:38:32 CEST 2001 alex@distel:/usr/src/sys/arch/i386/compile/Distel_ISDN i386
Architecture: i386
Machine: i386
>Description:

If you change the shell of a user to something else than the standard
shells which are in the installation versioin of /etc/shells, ftpd
rejects the login for that user. This is not mentioned clearly in
man (8) ftpd.

>How-To-Repeat:
Install tcsh, set a users shell to /usr/pkg/bin/tcsh and ftp to the
machine with that username.

>Fix:
In the section "User authentication" of man (8) ftpd change this item

           3.   The user must have a standard shell returned by
                getusershell(3).  If the user's shell field in the password
                database is empty, the shell is assumed to be /bin/sh.

to read

           3.   The user must have a standard shell returned by
                getusershell(3).  If the user's shell field in the password
                database is empty, the shell is assumed to be /bin/sh. The
                shell must be listed with full path in /etc/shells.

>Release-Note:
>Audit-Trail:
>Unformatted: