This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mkpasswd doesn't regognize me


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: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]