delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/06/19:54:41

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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=abo
q4n1LY1MW5TdzfN+3TN9nNXyBWbtynrujojL/buAy42IlxwDeedl8wFZ5cHnKE0a
7mcln2Sib4aBSiaC8GQIYXRZYQbY5PJFUKVxuciw4QlD/Qrqucv3OdVuTLv3zD+8
BQGfoDkeSHe7AwxL+bPWXGUgenJklphhpqOTPF/U=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=jqbMGZism
hdv93m5mir/7OPf2yg=; b=hn7E3o+gHp82aD5bpNwKTV3brbF7dADdDqbMfqaAK
lhm8UKrcROQqokq//a763cx07An34a1eRLoPMQN9pJblE696zYug68vwTIG2xdbK
oZmcgeeicGDPs+gdUyfWLn8jEkS/76Hu+8w8SdI9VPWzLYDl8Gluqn3DvO24J09l
h8=
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=-4.3 required=5.0 tests=BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,TW_MK autolearn=ham version=3.3.1
X-MXL-Hash: 51b1212e0116b5f3-03f19e80f305a8357bba183353015b8fa83981fa
From: "DESMET, JO" <jd3714 AT att DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Use of mkpasswd and mkgroup for bigger organizations
Date: Thu, 6 Jun 2013 23:54:05 +0000
Message-ID: <24CC809FDE350B4585211652D66109FE07372295@WABOTH9MSGUSR8F.ITServices.sbc.com>
MIME-Version: 1.0
X-RSA-Inspected: yes
X-RSA-Classifications: public
X-MAIL-FROM: <jd3714 AT att DOT com>
X-AnalysisOut: [v=2.0 cv=a5GHAzuF c=1 sm=0 a=srMsL6ituuWTYeky9Bs9mA==:17 a]
X-AnalysisOut: [=YnP4VLJI-BoA:10 a=bFWFMk-XE5YA:10 a=ofMgfj31e3cA:10 a=BLc]
X-AnalysisOut: [eEmwcHowA:10 a=kj9zAlcOel0A:10 a=zQP7CpKOAAAA:8 a=XIqpo32R]
X-AnalysisOut: [AAAA:8 a=U7kKeEzVgHIA:10 a=CZT29qZiRkMJ-nF94-kA:9 a=CjuIK1]
X-AnalysisOut: [q_8ugA:10]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r56NsZhh019277

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"

And will further suggest to execute the following:
mkpasswd -l [-d] > /usr/passwd
mkgroup -l [-d] > /usr/group

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.

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

Probably in that order I would think.



--
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


- Raw text -


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