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: Simplify AD integration?


On Aug  1 20:22, Achim Gratz wrote:
> Corinna Vinschen writes:
> > base-cygwin creates the /etc/passwd and /etc/group files (and the next
> > version won't).  What is base-files doing to these files?
> 
> I misremembered, it currently only checks for "mkpasswd", "mkgroup" and
> "group_GID_clash" and only warns about this and admonishes the user to
> run:
> 
>  "mkpasswd -l [-d] > /etc/passwd"
>  "mkgroup  -l [-d] > /etc/group"
> 
> It doesn't actually run those commands.  But both the warnings and the
> possible remedies might have to be removed or adapted.

These fake accounts don't exist anymore.  Unknown SIDs (unlikely) will
return an "Unknown User/Group" entry, or, if "db" is disabled in
/etc/nsswitch.conf, getpwnam and friends will return NULL.


Corinna

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

Attachment: pgpsbqYsUT66y.pgp
Description: PGP signature


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