mkpasswd doesn't regognize me
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Aug 23 07:50:00 GMT 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170823/3e7bfb44/attachment.sig>
More information about the Cygwin
mailing list