Ticket #1073 (new enhancement)

Opened 9 years ago

Last modified 9 years ago

getent passwd_nonlocal should work

Reported by: geofft Owned by:
Priority: insignificant Milestone: The Distant Future
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

It would be nice if nss_nonlocal provided a wrapper around getent (or a reimplementation of it) that returned raw nonlocal results if you did getent passwd_nonlocal geofft, without doing nss_nonlocal's filtering and without returning any local results.

(Or equivalently, if NSS_LOCAL_IGNORE=1 getent passwd geofft worked.)

Change History

comment:1 Changed 9 years ago by andersk

A getent_nonlocal binary would be possible with a bit of refactoring, but do you have a use case for it that hesinfo couldn’t satisfy?

NSS_LOCAL_IGNORE can’t really work: nss_nonlocal isn’t loaded in a position where it has the ability to cause local users to disappear, and I don’t really want to give it that ability.

Note: See TracTickets for help on using tickets.