Hi, Brian,

> -----Original Message-----
> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@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

Reply via email to