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
Date: Sun, 22 Jul 2001 10:10:50 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: "cygwin@cygwin. Com (E-mail)" <cygwin@cygwin.com>
Subject: Re: Untangling security - W2K on NT domain
Message-ID: <20010722101050.B629@cygbert.vinschen.de>
Mail-Followup-To: "cygwin@cygwin. Com (E-mail)" <cygwin@cygwin.com>
References: <01C1118C.52B6F460.jorgens@coho.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <01C1118C.52B6F460.jorgens@coho.net>; from jorgens@coho.net on Sat, Jul 21, 2001 at 02:24:40AM -0700

On Sat, Jul 21, 2001 at 02:24:40AM -0700, Steve Jorgensen wrote:
> Scenario:
> 
> Installed on a Windows 2K workstation and member of an NT 4 domain.
> 
> Using an account on the domain added to Administrators group on 
> workstation, but merely a regular user on the domain.
> 
> 
> Problem:
> 
> In the groups file, 513 is "None".  I thought that was only supposed to 
> happen on a workgroup system.

On set `mkpasswd' is only called with -l option. Call it again
using the -d option.

> Untarring files with tar -xvzf fails miserably (as same user as described 
> above).  Permissions are set wrong on new directories, and extract fails on 
> files destined for those directories because of inadequate permissions.
> 
> It would seem that I need to fix my /etc/passwd and/or /etc/group files, 
> but I don't understand them well enough to know what to do.  What do I need 
> to do here

Call mkpasswd and mkgroup without options. That should give you a clue.
And calling them with options isn't dangerous at all since they both
write to stdout. A little disposition to play is very helpful sometimes.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

