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 Message-ID: <81CC73FC2FACD311A2D200508B8B88AA1ADB07@kurion_exch.kurion.com> From: Dan Lipofsky To: cygwin AT cygwin DOT com Subject: RE: why am I administrator? Date: Wed, 10 Jan 2001 15:34:12 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" > > > USER=administrator but USERNAME=dlipofsky. > > > USERNAME is set by the OS. Here is a dump of some enviroment > > > variables, from bash and from the DOS prompt respectively. > >USER is set in the /etc/profile function by issuing the `id -un` > >command. The id command gets it's name from the associated uid in the > >/etc/passwd file. > > > >I can also guess that you are in the local administrator group and > >logged on as a domain user. Upon setup a /etc/passwd file is created > >from the local sid. You need to add your domain sid for your user > >account. > This seems to come up allot. Maybe we need an FAQ for this? A FAQ would be great. Obviously there are major passwd differences between cygwin and unix. I set up a line in /etc/passwd for dlipofsky with a made-up UID and GID. This seems to work. So what happened before I had this? It sounds like it couldn't find dlipofsky so it just when with the default. Is that it? Also what are the strings that look like S-1-5-21-839522115-1060284298-1708537768-500 - Dan -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple