From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <53222a2b4f6529f8e6bc106e1c8ee973.axp-list@archive.invalid> X-Archive-Original-Message-ID: <3.0.3.32.19970910085914.00a0e9a0@atlas> Date: Wed, 10 Sep 1997 08:59:14 -0500 From: Rob Zook Subject: UDB RH 4.1 FTP problems In-Reply-To: Hi all, I have a UDB 133Mhz, running RH 1.1. I did the base installation, and added a couple of multimedia packages. One thing has never worked and now it's become a serious annoyance. I can anonymously ftp to the UDB, but I cannot ftp from my PC or another UNIX box to the UDB using a login on the UDB. I tried searching for some answers on Redhat's mailing list search page, but to my surprise a query on just the word "ftp" turned up absolutely nothing. That seems rather unlikely, so I must guess their search page is broken at the moment. If I try to FTP from a UNIX machine to the UDB I get output like this: jove:/home/tech/rzook% ftp babylon5 Connected to babylon5.na.informix.com. 220 babylon5.na.informix.com FTP server (Version wu-2.4.2-academ[BETA-11](1) Wed Dec 18 19:19:00 UTC 1996) ready. Name (babylon5:rzook): rzook 331 Password required for rzook. Password: 530 Login incorrect. Login failed. Remote system type is UNIX. Using binary mode to transfer files. ftp> rzook is a valid login on the UDB, and I have verified I am using the correct password by doing an rlogin to the UDB. The rlogin works fine. I looked thru the man page on ftpd, and found the following about ftp user authentication: Ftpd authenticates users according to four rules. 1) The user name must be in the password data base, /etc/passwd, or whatever is appropriate for the operating system, and the password must not be null. In this case a password must be provided by the client before any file operations may be per- formed. 2) The user name must not appear in the file /etc/ftpusers. 3) The user must have a standard shell returned by getusershell(3). 4) If the user name is ``anonymous'' or ``ftp'', an anonymous ftp account must be present in the pass- word 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 1. The user name is in /etc/passwd and the user-id is not blank. 2. The user name is not in /etc/ftpusers. 3. The user name is listed in /etc/passwd as using the bash shell. 4. The user name is not ftp or anonymous. I ran "netstat -an | grep 21" (21 is the ftp service port number), and get the following: tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp 0 0 :21 :1253 ESTABLISHED unix 2 [ ] STREAM CONNECTED 21683 unix 2 [ ] STREAM 21684 /dev/log unix 2 [ ] STREAM CONNECTED 21710 unix 2 [ ] STREAM 21711 /dev/log Which shows that ftpd is listening on the correct port and some kind connection is being established, but user authentification keeps failing. Has anyone have some idea what might be happening? Thanks, Rob Z. ---------------------------------------------------------- The sublime and the ridiculous are often so nearly related, that it is difficult to class them separately. One step above the sublime makes the ridiculous, and one step above the ridiculous makes the sublime again. --- Age of Reason. Part ii. note. -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com