[comp.sys.hp] anonymous ftp on hp850

lynch@batcomputer.tn.cornell.edu (Tim Lynch) (09/19/89)

Has anyone successfully installed anonymous ftp on an HP8xx machine?

We have one problem we can't solve:  The guest user cannot obtain
a directory listing of the /usr/spool/ftp directory.  We've been
all over this thing turning on every permission bit in site and
still no listing.  I've even read the manuals, though there is
precious little on setting up a guest user account.

I'll gladly post a summary once I get this solved.

Tim Lynch, Chemistry Research Computing Facility manager
		   Cornell University

ken@hpclkms.HP.COM (Ken Sumrall) (09/22/89)

>Has anyone successfully installed anonymous ftp on an HP8xx machine?
>
>We have one problem we can't solve:  The guest user cannot obtain
>a directory listing of the /usr/spool/ftp directory.  We've been
>all over this thing turning on every permission bit in site and
>still no listing.  I've even read the manuals, though there is
>precious little on setting up a guest user account.
>
I'm not sure whatss wrong, but here is a stab in the dark.

I am assuming that /usr/spool/ftp is the home directory of the ftp
user as listed in the /etc/passwd file.  Under that directory, you should
have a bin and etc directory.  They should be mode 511, and owned by root.
Under the etc directory, you should have a passwd file with any relevant
entries stripped out, and the password fields starred out.  You should also
have a group file.  Under the bin directory, you should have copies of
csh, ls, pwd, and sh.  Each of these commands should be mode 111.

Most of this info is in the ftpd(1m) man page.  However, the man page doesn't
mention that pwd needs to be included in the bin directory.  If it isn't
there, the pwd command of ftp won't work.

>I'll gladly post a summary once I get this solved.
>
>Tim Lynch, Chemistry Research Computing Facility manager
>		   Cornell University

Hope this helps!

Ken Sumrall
HP California Language Labs
ken%hpda@hplabs.hp.com