SUMMARY: ftp & shells

From: John M. Crowell (jmcrowell@ucdavis.edu)
Date: Tue Oct 01 1991 - 18:16:39 CDT


Thanks to everyone who helped.

My original message:

>IF this is a RTFM, somebody please tell me which FM.
>
>User has default login shell set as /bin/tcsh.
>
>If he tries to get into the system (SS1+: SunOS 4.1.1) via ftp
>from another, he gets
>
> 530 User schmuck access denied.
>
>If his default login shell is /bin/csh or /bin/sh, the problem doesn't occur.
>
>What is it about ftp and login shells? Is something wrong with my tcsh?
>Is this normal - i.e. should I have known?

The FMs I needed were ftpd(8) AND getusershell(3). (This is like an adventure game.)

ftpd(8) says:
          The user must have a standard shell returned by
          getusershell(3).

and getusershell(3) says:

     getusershell() returns a pointer to a legal user shell as
     defined by the system manager in the file /etc/shells. If
     /etc/shells does not exist, the four locations of the two
     standard system shells /bin/sh, /bin/csh, /usr/bin/sh and
     /usr/bin/csh are returned.

Creating /etc/shells did the trick.

Thanks particularly to:

Svante Lindahl <zap@inmic.se>
Stefan Mochnacki <stefan@centaur.astro.utoronto.ca>
Matt Crawford <matt@oddjob.uchicago.edu>
Rosalinda Garcia <rosa@huggins.ssctr.bcm.tmc.edu>
James J Dempsey <jjd@alexander.bbn.com>
Jim Davis <jdavis@noao.edu>
Ken Rossman <ken@shibuya.cc.columbia.edu>

and others that keep rolling in.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:18 CDT