Web lists-archives.com

Re: mkpasswd doesn't regognize me




On Aug 23 06:50, Wiedmann, Jochen wrote:
> 
> Hi, Brian,
> 
> > -----Original Message-----
> > From: cygwin-owner@xxxxxxxxxx [mailto:cygwin-owner@xxxxxxxxxx] On Behalf Of Brian Inglis
> > Sent: Mittwoch, 23. August 2017 07:59
> > To: cygwin@xxxxxxxxxx
> > 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: signature.asc
Description: PGP signature