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 To: cygwin AT cygwin DOT com Subject: Re: More questions about mkgroup and mkpasswd Message-ID: 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/