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: Launch cygwin as non-domain user

On Aug 15 11:53, Bob Van wrote:
> I didn't realize there was a response (on aug 8th to aug 6th) to this
> since didn't get a mail, but am subscribed to digest now.
> I have no passwd or group files. When I echo username, it's as I expect...
> CHI+User(14497)@RVANOVERMEIREN ~/ror

  This does not look like a local user account.  Is CHI your AD domain
  or your local machine name?

The above occurs if a Windows system call fails, i. e.  LookupAccountSid
probably returns with an error code outlining that it can't contact the

If you want to use your AD username even when disconnected from the
DC, it really makes sense to generate an /etc/passwd entry for your
user account, as well as /etc/group entries for the AD groups you're
member in.

To create these entries you can use the mkpasswd/mkgroup tools or,
alternatively, the getent tool.  Either way, obviously you must be
connected to your DC when doing so.

Then, if you're disconnected, Cygwin can easily fetch this information
from the local files.


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]