delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/22/04:17:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sun, 22 Jul 2001 10:10:50 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: "cygwin AT cygwin. Com (E-mail)" <cygwin AT cygwin DOT com>
Subject: Re: Untangling security - W2K on NT domain
Message-ID: <20010722101050.B629@cygbert.vinschen.de>
Mail-Followup-To: "cygwin AT cygwin. Com (E-mail)" <cygwin AT cygwin DOT com>
References: <01C1118C DOT 52B6F460 DOT jorgens AT coho DOT net>
Mime-Version: 1.0
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 AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019