delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/04/04:09:41

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 04 Dec 2007 09:09:07 +0000
From: Owen Rees <owen DOT rees AT hp DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: More questions about mkgroup and mkpasswd
Message-ID: <E933D3E1600D84A914E59027@RREES.emea.hpqcorp.net>
In-Reply-To: <4750322C.5000706@cygwin.com>
References: <58720 DOT 1142 DOT qm AT web36812 DOT mail DOT mud DOT yahoo DOT com> <4750322C DOT 5000706 AT cygwin DOT com>
X-Mailer: Mulberry/4.0.6 (Win32)
MIME-Version: 1.0
X-HPL-MailScanner: Found to be clean
X-HPL-MailScanner-From: owen DOT rees AT hp DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--On 30 November 2007 10:54 -0500 Larry Hall (Cygwin) wrote:

> It gathers information from the domain controller and adds it to these
> files.  This should include all domain users and groups.  This can be
> overkill but the good thing is that if it doesn't complain in the process
> or take way too long to generate, it just works.

If there are tens of thousands of users in the domain who are never going 
to use the machine and probably also tens of thousands of groups that will 
never need to be known on the system it does take a bit too long.

I have found that the /etc/passwd created by the postinstall script is fine 
but the /etc/group needs to be fixed. I have found that this creates a 
group file that works for me.

 /bin/mkgroup -l >group
 /bin/mkgroup -d -g "Domain Users" >>group

Things may get a bit more complicated if your computer account and your 
user account are in different domains but since I am not in that situation 
any more, I can't provide and details based on current experience.

-- 
Owen Rees; speaking personally, and not on behalf of HP.
========================================================
Hewlett-Packard Limited.   Registered No: 690597 England
Registered Office:  Cain Road, Bracknell, Berks RG12 1HN

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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