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 Date: Thu, 11 Jan 2001 08:35:20 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: why am I administrator? Message-ID: <20010111083520.U4141@cobold.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <81CC73FC2FACD311A2D200508B8B88AA1ADB07 AT kurion_exch DOT kurion. com> <4 DOT 3 DOT 1 DOT 2 DOT 20010110163827 DOT 021e72b8 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <4.3.1.2.20010110163827.021e72b8@pop.ma.ultranet.com>; from lhall@rfk.com on Wed, Jan 10, 2001 at 04:45:00PM -0500 On Wed, Jan 10, 2001 at 04:45:00PM -0500, Larry Hall (RFK Partners, Inc) wrote: > At 04:34 PM 1/10/2001, Dan Lipofsky wrote: > > > > > USER=administrator but USERNAME=dlipofsky. > > > >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. > > > 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. ??? > Actually, this surprises me. I would've thought you would have wanted to > change the name of the user in the /etc/passwd file that matched the output > of "id -u". This is what I have. Of course, I made my /etc/passwd with > mkpasswd which makes understanding what needs to be change moot AFAICS. > >Also what are the strings that look like > >S-1-5-21-839522115-1060284298-1708537768-500 > That's the Windows ID. See the mail archives and the user documentation > on NTFS permissions for more info. Folks, it sobers me a bit that you make things that complicated. What is the problem? If you have no entry for your user in /etc/passwd you will run into severel problems, beginning with the output of `id'. Create a correct /etc/passwd entry, that's it. `mkpasswd' will be your friend. And read the documentation. That helps a lot and avoids having _everything_ twice, in the documentation and in the FAQ. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple