This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
password routine (e.g. getpwnam) behavior: bug or feature
- To: <cygwin at sources dot redhat dot com>
- Subject: password routine (e.g. getpwnam) behavior: bug or feature
- From: "Peter Kabal" <kabal at ece dot mcgill dot ca>
- Date: Tue, 25 Jul 2000 10:12:15 -0400
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@ECE.McGill.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@sourceware.cygnus.com