www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:reply-to:mime-version:to | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=WtD94tsaRK31+IRI | |
o+t9Y0VZroMpWi3OiR4T8L8jeL3fyS29GRKybQ4mOmS/1/rHV+zpKxs8xyHInn7S | |
PHBapcaGfwRbpsPgpFpVqTds7+PM8waala2H94qDTJpSL558o2byYHQJjUdUbXq4 | |
8hUTbnVHveUF5Ai2fmVgAMyvhts= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:reply-to:mime-version:to | |
:subject:references:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=Fx9Ir0UYNpEPU1qwKGOoOJ | |
XzVOs=; b=Za38sCu2QXcxk89U6MvVyxOU8wCTA1D8SNPWcIW1DqDnEluveCWSnF | |
N9P8pPdB6O3VLrtTJjl4e2WBSeqAQ3hlYwhsdD4um0Rb+F1d6+SkQ8hH2SzLLsbh | |
u9gDaEcyOpbIksLFiJYKYt6ARJy8xiRqr2Te5ccLUqQY0D7jTapjM= | |
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 |
X-Spam-SWARE-Status: | No, score=2.8 required=5.0 tests=AWL,BAYES_05,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_MK autolearn=no version=3.3.1 |
Message-id: | <51B1FAB9.2070005@cygwin.com> |
Date: | Fri, 07 Jun 2013 11:22:33 -0400 |
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 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
MIME-version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Use of mkpasswd and mkgroup for bigger organizations |
References: | <24CC809FDE350B4585211652D66109FE07372295 AT WABOTH9MSGUSR8F DOT ITServices DOT sbc DOT com> |
In-reply-to: | <24CC809FDE350B4585211652D66109FE07372295@WABOTH9MSGUSR8F.ITServices.sbc.com> |
On 6/6/2013 7:54 PM, DESMET, JO wrote: > Trying to suggest an update to documentation and the default output after starting your Cygwin shell the first time > Bigger organizations will by default have their users on the domain. > > Now oftern the first time after being installed Cygwin, the following message will appear: > Your group is currently "mkpasswd" If this is the case, this suggests that querying your domain for user information is having some "difficulties". 000-cygwin-post-install.sh post install script uses the -c flag for both mkpasswd and mkgroup to put the current user's info in these files directly, without grabbing any other users' info from the domain. If this isn't working for you, you may have restricted access to your DC(s). Check with your local administrators about this. > And will further suggest to execute the following: > mkpasswd -l [-d] > /usr/passwd > mkgroup -l [-d] > /usr/group ^^^^^^^^^^^^^ Typo alert! > With the note that -d is for domain users. > > Now you have a huge domain etc ... it runs forever ... geez downloading the whole domain? > Man, google, documentation, all has very less to mention about this. <http://cygwin.com/cygwin-ug-net/using-utils.html#mkpasswd> <http://cygwin.com/cygwin-ug-net/using-utils.html#mkgroup> 'man' for these commands has the same info. > First time users and even repeat users (I am doing a fresh install like what ... once every 3 year ...), blindly follow that of course. > I think in most setups, users needing access to a pc installation are already setup as users on that PC, even as domain users ... > So I think it would be beneficial to further explain what the -d really does (taking a long time doing something), > And maybe to advise running > mkgroup -l -c > /usr/group > mkpasswd -l -c > /usr/passwd ^^^^^^^^^^^ Again, typo alert! Adding a few more words with some background here would be beneficial, though if the -c flag is working for you outside of "setup.exe" but not as part of the install itself, that may point to a more interesting issue. But back to the documentation issue. Care to craft some wording describing the flags in a bit more detail and why/when it makes sense to user them? -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |