public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* id doesn't seem to work properly for multiple users under W2K
@ 2001-07-19 11:51 Peter Schröder
  2001-07-19 15:01 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Schröder @ 2001-07-19 11:51 UTC (permalink / raw)
  To: cygwin

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?

Thanks

Peter


--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: id doesn't seem to work properly for multiple users under W2K
  2001-07-19 11:51 id doesn't seem to work properly for multiple users under W2K Peter Schröder
@ 2001-07-19 15:01 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-07-19 15:01 UTC (permalink / raw)
  To: Peter Schröder, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1812 bytes --]

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-19 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-19 11:51 id doesn't seem to work properly for multiple users under W2K Peter Schröder
2001-07-19 15:01 ` Larry Hall (RFK Partners, Inc)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).