delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4750322C.5000706@cygwin.com> |
Date: | Fri, 30 Nov 2007 10:54:20 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: More questions about mkgroup and mkpasswd |
References: | <58720 DOT 1142 DOT qm AT web36812 DOT mail DOT mud DOT yahoo DOT com> |
In-Reply-To: | <58720.1142.qm@web36812.mail.mud.yahoo.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Erik Weibust wrote: > So yesterday when I installed cygwin I got an error about my group being > mkgroup and that it should be rebuilt. It mentioned that if I am a network > user I should use mkpasswd and mkgroup with the -d flag. What is this giving > me over just saying mkpasswd -l? All I see is it creating massive passwd and > group files. 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. > Also, I saw that my home dir in my /etc/passwd is somewhere that doesn't > exist on a network server. Can I safely just change it to a local /home/user > dir? Assign it to whatever you like. See the '-p' flag on 'mkpasswd'. Or just edit the '/etc/passwd' file afterward. Be careful not to change you user's SID info though. > Lastly, I see that some of my files have a group of Users and others have > Domain Users, how can I easily set all my files to the same group? I > literally just installed Cygwin, so I have no problem reinstalling to "get > it right" from the beginning, if there is a better way to install Cygwin > when you are on a domain. chgrp -R "Domain Users" ~ The above has not be tested. It's meant to be an example, not a directive of what to do literally. See the man page for 'chgrp' for more details. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |