Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <08fe01c228ea$eb9bf4c0$eb6610ac@lefeuvrewk2> From: "Corwin" To: Subject: ftpd case sensitivity problem Date: Thu, 11 Jul 2002 16:54:55 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Maybe it has been discussed before but I did not find any reference to it so let's ask the question. There is something I don't understand in the behaviour of ftpd that made me point out another problem. I enabled anonymous access to my ftp server and wanted to disable access by aprivileged user (that is to say authorize only anonymous). To achieve this I filled my /etc/ftpusers with every users of /etc/passwd. The problem is that the check into ftpusers IS case sensitive whereas the ftp access IS NOT case sensitive .. !!! Here is an example: ftpusers file content: -------------------------------------- thomas tlefeuvre administrator Administrator guest -------------------------------------- Test 1 -------------------------------------- $ftp localhost Connected to lefeuvrewk2. 220- 220- Wow! I have found the ftp daemon! Let's see... 220- 220 lefeuvrewk2 FTP server (GNU inetutils 1.3.2) ready. Name (localhost:TLEFEUVRE): Administrator 530 User Administrator access denied. ftp: Login failed. Remote system type is UNIX. Using binary mode to transfer files. -------------------------------------- ----> User Administrator can not log into the ftp server. Test 2 -------------------------------------- $ftp localhost Connected to lefeuvrewk2. 220- 220- Wow! I have found the ftp daemon! Let's see... 220- 220 lefeuvrewk2 FTP server (GNU inetutils 1.3.2) ready. Name (localhost:TLEFEUVRE): aDministrator 331 Password required for aDministrator. Password: 230- Fanfare!!! 230- You are successfully logged in to this server!!! 230 User Administrator logged in. Remote system type is UNIX. Using binary mode to transfer files. -------------------------------------- ----> User aDministrator CAN log into the ftp server !!!!!!!!!!!!!!! Is this well known and the wanted behaviour ? Thomas ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/