Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Peter Kabal" To: Subject: password routine (e.g. getpwnam) behavior: bug or feature Date: Tue, 25 Jul 2000 10:12:15 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Cygwin 1.1.2 under Windows 2000 Calling getpwnam("xxx") where "xxx" is a non-existent user returns the password structure for user "administrator". I would have expected it to return a NULL structure indicating that the user does not exist in the password file. Is the cited behavior a bug or a feature? Peter Kabal Kabal AT ECE DOT McGill DOT CA (514) 398-7130 Electrical & Computer Engineering (514) 398-4470 (FAX) McGill University 3480 University, Montreal, Quebec, Canada H3A 2A7 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com