Operating System - HP-UX
1827802 Members
2327 Online
109969 Solutions
New Discussion

Re: ftp hanging due to anonymous user setup

 
SOLVED
Go to solution
u856100
Frequent Advisor

ftp hanging due to anonymous user setup

Hi all,

When I set up an anonymous user for ftp from and to a HP-UX 11 box, the session hangs prompting me to CTRL-C out of it.

This only happens, however, when I set up the anonymous user in sam. If I then disable anonymous, then the ftp session runs fine!

any ideas gurus??

thanks
john
chicken or egg first?
2 REPLIES 2
Deepak Extross
Honored Contributor
Solution

Re: ftp hanging due to anonymous user setup

A few things to verify:
1. You have a user 'ftp' defined in your /etc/passwd file with password set to '*' and belonging to group 'guest'.
2. The shell for this user is '/usr/bin/false'
3. The home directory for user 'ftp' exists, owned by root and with permissions 0555.
4. The directory ~ftp contains the following files/dirs:
~ftp/usr/bin/ls
~ftp/etc
~ftp/etc/passwd
~ftp/etc/group
~ftp/etc/logingroup

hope this helps.
u856100
Frequent Advisor

Re: ftp hanging due to anonymous user setup

well, now I'm really confused.

I have just tried it again and all is working fine. The machines I am using are an NIS master and slave, but I wasn't forseeing any problems. It is as is if the machine has righted itself and propergated the anonymous info/permissions through to each other.

weird

thanks for your continual help!

John
chicken or egg first?