X-Recipient: archive-cygwin@delorie.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=k2j
	dg6kVjVSHGAxFCTvYAYFNBSgJvuSkrB0XeNQ45nab1FEIrbi2mGDdI7/LjdPvtmB
	dAZNR0iVHRx0vnLNPt2junhdVQaifQsUJZdkWUI/AVe+e7TRoUydIvVLI6bjP5gQ
	8Z9kUoiXMe0FYlOLobBf0Kq3kLiTp7y9YVBlciE0=
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=K0wNEZN9k
	sDUMEZYS1zDtKyoyZA=; b=yH4Tmb6YbijPFP4NNYSKnbmvto0JW3Ewp4P9xM2q+
	ZZJAbsCRDZZdkHvnwkAqnmD4j+V/MYRMCKa0b7yUAjlCiajKahrwDFjzBcdeDd5C
	lGBmBYK8CAxD7f6r6cJTKjlpC+PkU+MDTY9sJqFSSw6F1W34PVlV58VfFhl7wTxx
	zs=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,GIT_PATCH_2,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=8:re, Services, Full, commercial
X-HELO: server3.softwareag.com
From: "Wiedmann, Jochen" <jochen.wiedmann@softwareag.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: mkpasswd doesn't regognize me
Date: Wed, 23 Aug 2017 06:50:54 +0000
Message-ID: <A97BA01965BD834CBCD85A70A4B7EA7FCA2CFE25@daeexmbx1.eur.ad.sag>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
X-TM-AS-GCONF: 00
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v7N6pJLB023349


Hi, Brian,

> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Brian Inglis
> Sent: Mittwoch, 23. August 2017 07:59
> To: cygwin@cygwin.com
> Subject: Re: mkpasswd doesn't recognize me

> On 2017-08-22 23:27, Wiedmann, Jochen wrote:
> > in order to set my home directory correctly in /etc/passwd, I run
> >   mkpasswd | grep MYUSERID
> >   mkpasswd -d | grep MYUSERID
> >   mkpasswd -d -l | grep MYUSERID
> >   mkpasswd -l | grep MYUSERID
> > Neither of which returns any output.

> Run id and mkpasswd and see what they output for your account.
> Also run net user <account> and see what that outputs for your account:
> Full Name is the Windows logon alias for your account.

In the above order:

$ id

uid=<LONGNUMBER>(<MYDOMAIN>+<MYUSERID>) gid=<OTHERLONGNUMBER>(<MYDOMAIN>+Domain Users) groups=<LONG LIST OF GROUPS>

$ mkpasswd

Shows a long list of domain users, but doesn't include me. (This is what my original mail was all about.)

$ net user

Shows a short list of local (?) users, not including my account.


Jochen




SAG Consulting Services GmbH - Sitz/Registered office: Uhlandstraße 9, 64297 Darmstadt, Germany - Registergericht/Commercial register: Darmstadt HRB 85598 Geschäftsführer/Managing Directors: Michael Hagedorn, Klaus Katz, Arno Theiß - http://www.softwareag.com <http://www.softwareag.com/>


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


