This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

password routine (e.g. getpwnam) behavior: bug or feature


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]