public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: mkpasswd doesn't regognize me
@ 2017-08-23  6:51 Wiedmann, Jochen
  2017-08-23  7:50 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Wiedmann, Jochen @ 2017-08-23  6:51 UTC (permalink / raw)
  To: cygwin


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mkpasswd doesn't regognize me
  2017-08-23  6:51 mkpasswd doesn't regognize me Wiedmann, Jochen
@ 2017-08-23  7:50 ` Corinna Vinschen
  2017-08-23  7:57   ` Wiedmann, Jochen
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2017-08-23  7:50 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1356 bytes --]

On Aug 23 06:50, Wiedmann, Jochen wrote:
> 
> 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>

Your domain is not the logon domain of the machine you're sitting in
front of.  Try `mkpasswd -c', or `getent passwd <MYDOMAIN>+<MYUSERID>',
both of whihc should do what you're looking for.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: mkpasswd doesn't regognize me
  2017-08-23  7:50 ` Corinna Vinschen
@ 2017-08-23  7:57   ` Wiedmann, Jochen
  0 siblings, 0 replies; 3+ messages in thread
From: Wiedmann, Jochen @ 2017-08-23  7:57 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 791 bytes --]


> Your domain is not the logon domain of the machine you're sitting in front of.  Try `mkpasswd -c', or `getent passwd <MYDOMAIN>+<MYUSERID>', both of whihc should do what you're looking for.

Thanks, Corinna,

Indeed, "mkpasswd -c" worked nicely.

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

\x03B‹KCB”\x1c›Ø›\x19[H\x1c™\^[ܝ\x1cΈ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÜ\x1c›Ø›\x19[\Ëš\x1d^[[\x03B‘TNˆ\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ˜\KÃB‘^[ØÝ[Y[\x18]\x1a[ÛŽˆ\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ^[ØÜËš\x1d^[[\x03B•[œÝXœØÜšX™H\x1a[™›Îˆ\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÛ[\vÈÝ[œÝXœØÜšX™K\Ú[\^[\x19CBƒB

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-23  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23  6:51 mkpasswd doesn't regognize me Wiedmann, Jochen
2017-08-23  7:50 ` Corinna Vinschen
2017-08-23  7:57   ` Wiedmann, Jochen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).