From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Larry Hall (RFK Partners, Inc)" To: Peter Schröder , cygwin@cygwin.com Subject: Re: id doesn't seem to work properly for multiple users under W2K Date: Thu, 19 Jul 2001 15:01:00 -0000 Message-id: <4.3.1.2.20010719175257.02105fa8@pop.ma.ultranet.com> References: <3B57101D.858D4D33@cs.caltech.edu> X-SW-Source: 2001-07/msg01135.html At 12:51 PM 7/19/2001, Peter Schröder wrote: >I've installed cygwin as administrator. Now when I am myself and run the >bash shell "id -un" returns administrator instead of "ps" with >predictable results. I did set HOME environment variables correctly so >at least I am in my own directory. Where does id get its idea as to who >the current user is? I did notice that /etc/passwd contains entries for >all manner of accounts, but not mine. What's the right process to fix >this? First, look in the email archives for similar issues and try what's suggested there. Then, read the documentation at www.cygwin.com for areas related to your area of interest. Then, if you're still left with a question, query the list. Actually, this is the recipe for all questions you may have, not just this one. In this case, your /etc/passwd file is wrong and that's what's causing your troubles. See the Cygwin user guide for information on how to create this and the /etc/groups files. Specifically, you may want to look at http://www.cygwin.com/cygwin-ug-net/using-utils.html#MKPASSWD http://www.cygwin.com/cygwin-ug-net/using-utils.html#MKGROUP There are also oodles of similar questions with answers on this topic in the email archives, if you'd be interested in looking there. But the basics you should be able to get from the User's Guide. Larry Hall lhall@rfk.com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/