[comp.sys.sun] ftp - access denied

collins@ists.ists.ca (Mike Collins) (02/20/91)

I am running a Sun 3/280 under SunOS 4.1. I recently set up the ftp
anonymous facility according to the Sun documentation. The passwd entry
for the ftp account is as follows:

ftp:*:386:600:ftp anonymous login:/home/ftp:/bin/csh

The anonymous facility works well, but now others users, who have accounts
on our machine, cannot use ftp. A typical session goes somethings like
this:

nilas.eol.ists.ca % ftp eol.ists.ca
Connected to eol.ists.ca.
220 eol FTP server (SunOS 4.1) ready.
Name (eol.ists.ca:collins): collins
530 User collins access denied.
Login failed.
ftp>

This occurs whether I am attempting to run ftp from a client of eol or an
independent machine. Can anyone point me at the problem?  Thanks!!

cc_gucky@relay.eu.net (Gerhard Holzer) (03/22/91)

In article <1699@brchh104.bnr.ca> you write:
+The anonymous facility works well, but now others users, who have accounts
+on our machine, cannot use ftp. A typical session goes somethings like
+this:
+
+nilas.eol.ists.ca % ftp eol.ists.ca
+Connected to eol.ists.ca.
+220 eol FTP server (SunOS 4.1) ready.
+Name (eol.ists.ca:collins): collins
+530 User collins access denied.

We had the same problem as far as I can remember.  FTP check the file
/etc/shells to see if the login shell is O.K. !!  So put the shells of
users running FTP to /etc/shells.  I heard there could also be troubles,
if you will use different paths for the same shell in /etc/passwd and
/etc/shells.

dove@rocket.sanders.com (Webster Dove) (03/28/91)

My experience has been that I can ftp as myself to the NIS server, but not
the clients.  From that I take it that ftpd doesn't know how to use NIS.

Web
  (usenet)      ...!uunet!rocket!dove		phone (603) 885-9163
  (internet)    <dove@rocket.sanders.com>	fax   (603) 885-0631