Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3A78ABF9.6C4B16B1@veritas.com>
Date: Wed, 31 Jan 2001 16:21:13 -0800
From: Bob McGowan <rmcgowan@veritas.com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "David M. Karr" <dkarr@tcsi.com>
CC: Larry Hall <cygwin@cygwin.com>
Subject: Re: passwd file entry missing
References: <4.3.1.2.20010131183736.06070db8@pop.ma.ultranet.com> <uyd7d3ff5x.fsf@tcsi.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Did you use the setup program on your machine and not his?  I believe it runs mkpasswd for you, if /etc/passwd does not exist.

"David M. Karr" wrote:
> 
> >>>>> "Larry" == Larry Hall <cygwin@cygwin.com> writes:
>   Larry> At 06:29 PM 1/31/2001, David M. Karr wrote:
>   >> I've got Cygwin working fine on my PC.  I'm helping someone else set
>   >> up Cygwin on their PC.  I created a "/home/<username>", and set HOME
>   >> in control panel to "/home/<username>".  Most things work fine.
>   >> However, one odd thing is that the "id" program shows his userid as
>   >> "administrator".  I thought to look in the "/etc/passwd" file, and
>   >> compare it to what I have.  My "/etc/passwd" file has an entry for my
>   >> name, but his does not have an entry for his name.  Despite this
>   >> anomaly, I'm not quite sure what problems this might cause, if any.
>   >>
>   >> What are some reasons why he doesn't have a passwd file entry?  What
>   >> did I do to get an entry for me in my passwd file?  I know I didn't do
>   >> it manually.
> 
>   Larry> You ran mkpasswd.  Do so on the other (NT/W2K) machine and you should be
>   Larry> fine.
> 
> Uh, ok.  I just did "mkpasswd -l > /etc/passwd" on his PC, and now
> "id" and "whoami" give me something reasonable.  However, I'm quite
> sure I never did that on my system.  I think I remember reading about
> it in the manual, but I'm pretty sure I never explicitly ran it.
> 
> --
> ===================================================================
> David M. Karr     ; w:(425)487-8312     ; TCSI & Best Consulting
> dkarr@tcsi.com    ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan@veritas.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

