[ANNOUNCEMENT] New package: getent-2.18.90-3

Christian Franke Christian.Franke@t-online.de
Tue Nov 18 06:33:00 GMT 2014

Corinna Vinschen wrote:
> Hi folks,
> I just uploaded getent-2.18.90-3.
> getent is a Glibc tool which allows to fetch host, passwd, group,
> protocol, and service information via a simple tool.
> The -3 version introduces the ability to ask for passwd and group
> entries via Windows username/groupname, using the "U-" prefix as
> in Cygwin's pw_gecos field:
>    $ getent passwd U-BUILTIN\\Administrator
>    Administrators:*:544:544:,S-1-5-32-544::
> You can skip the domain name.  In this case getent relies on the
> default account name resolution order of the underlying LookupAccountName(*)
> function
>    $ getent passwd U-Administrator
>    Administrators:*:544:544:,S-1-5-32-544::

Looks good.

What is the future way to map cygwin group names to windows group names? 
Unlike struct passwd, the windows name does not appear in struct group.

"getent wingroup CYGGROUP" with some help of a new cygwin_internal function?


Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list