tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "DEBRULER, BONNIE" <DEBRULER () eglin ! af ! mil>
To: tru64-unix-managers
Subject: Summary 2: FTP setup question
Date: Wed, 11 Sep 1996 12:55:11 +0000	[thread overview]
Message-ID: <96076339121407.tru64-unix-managers.marc@archive.invalid> (raw)

Subject: summary:  FTP setup question

After I sent my first summary I received many other responses and wanted
publicly express my thanks to: 

	Sheila H. Franklin 	sfrankl@nswc.navy.mil
	Fergal McCarthy		fergal@ilo.dec.com
	Steve Thompson		smt@corning.com
	Neal Wilcox		nwilcox@dow.com
	Zhenya Gurvich		gurvich@alphacc.tau.ac.il
	cliff "BigRedDog"	ckrieger.latrade.com
	Bob Sloane		sloane@kuhub.cc.ukans.edu
	
who all responded with the obvious gotcha that I missed.

I am including Bob Sloane's response because it was so COMPLETE.

THANKS! THANKS! THANKS!  To ALL who responded!  

Bonnie DeBruler
debruler@eglin.af.mil
======================================================
   ==//===
 // //  TYBRIN Corporation    Corp.   (904) 651-1150 
 \\===================================================
      1283 N. Eglin Pkwy.     Office  (904) 882-9794
      Shalimar, FL  32579     Fax     (904) 729-2550

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Subject: Re: FTP setup question

> How can I make my new Digital UNIX 4.0 system allow non-privileged users to 
> ftp in (with username and password -- no anon. ftp allowed)?

The first thing to look at is that the user's shell in listed in
/etc/shells and that the permissions on /etc/shells allow access. If
not, the no ftp access is possible. Failing that, the rules for access
to ftpd are listed in the ftpd man page:

  The ftpd command authenticates users according to four rules:

    +  The username must be in the password database, /etc/passwd, and not
       have a null password.  In this case, a password must be provided by
       the client before any file operations may be performed.

    +  The username must not appear in the /etc/ftpusers file.

    +  The user must have a standard shell returned by the getusershell()
       call (see getusershell(3)).

    +  If the username is anonymous or ftp, an anonymous ftp account must be
       present in the password file (user ftp).  In this case, the user is
       allowed to log in by specifying any password (by convention this is
       given as the client host's name).

One of these rules might be failing.  This all assumes that you are
using the standard Digital ftp server, and not something like wuftpd.

If everything above looks ok, then you might look at the ftp entry in
/etc/inetd.conf which should look something like:

ftp     stream  tcp     nowait  root    /usr/sbin/ftpd     ftpd

If you put a "-l" on the ftpd commmand above:

ftp     stream  tcp     nowait  root    /usr/sbin/ftpd     ftpd -l

then ftpd will use syslog to log connections (assuming syslog.conf is set
up properly) which might give you some additional information.
-- 
USmail: Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
E-mail: sloane@kuhub.cc.ukans.edu, Phone: (913) 864-0444, FAX: (913) 864-0485

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

==============================================================================
Original Post:

Date:    10-Sep-1996 01:19pm CST 
Subject: FTP setup question

Hello out there in Digital UNIX land!

Simple question here.  I have RTFM and tried the FAQs but I am missing 
something real tiny and real simple...

How can I make my new Digital UNIX 4.0 system allow non-privileged users to 
ftp in (with username and password -- no anon. ftp allowed)?

From system-x the non privileged user can ftp open systems a,b,c, etc.  
But, from systems a,b and c the non-privileged user cannot ftp open 
system-x and instead receives the following error message:

    	 530 User <username> access denied.

Privileged accounts do not seem to be affected.  Huh?  What is missing?  I 
keep looking for data on ftp setup but everything I find wants to explain 
how to setup an anon. ftp service.....


Your help is greatly appreciated.

                 reply	other threads:[~1996-09-11 12:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox