getent doesn't work properly

Maayan Apelboim
Wed Oct 23 11:17:00 GMT 2019

Is "UK" the name of the local machine or the name of your domain?

How does your /etc/nsswitch.conf file look like?

Do you still have /etc/passwd and /etc/group files?  If so, does removing the files change the above behaviour?  If so, can you attach both files verbatim to your reply?


Corinna Vinschen
Cygwin Maintainer


UK is my domain. 
I'm not using passwd and group files after being advised in the past not to.
My /etc/nsswitch.conf is default. Didn't make any changes to this file.

# /etc/nsswitch.conf
#    This file is read once by the first process in a Cygwin process tree.
#    To pick up changes, restart all Cygwin processes.  For a description
#    see
# Defaults:
# passwd:   files db
# group:    files db
# db_enum:  cache builtin
# db_home:  /home/%U
# db_shell: /bin/bash
# db_gecos: <empty>


More information about the Cygwin mailing list