[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#32370: libc6: getpwent() returns each user twice when using "passwd: db files" in nsswitch




The output is correct. If you tell the NSS functions over
/etc/nsswitch.conf, to search in db AND in files, getpwent
will show you both, all entries from db and all entries
from files. If you don't like that, configure /etc/nsswich.conf
correct to use only one of both. You could find more information
in the libc.info pages, and man nsswitch.

  Thorsten

-- 
Thorsten Kukuk      http://home.pages.de/~kukuk/      kukuk@suse.de
SuSE GmbH           Schanzaeckerstr. 10             90443 Nuernberg
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.


Reply to: