[Pkg-shadow-devel] skip external database checks (NIS, LDAP)

Peter Vrabec pvrabec at redhat.com
Thu Jan 13 09:12:22 UTC 2011

Hi folks,

I have received several requests where people asked for functionality that 
will enable useradd, groupadd, to add records to local database even if the 
same record exists in NIS/LDAP.

"-l" / "--local" switch can be introduced for this purpose. If it's used, then 
pw_locate_uid(), pw_next(), pw_rewind(), gr_rewind(), ... would take place 
instead of getgrgid(), getgrgid(), getpwuid(), getpwuid(), ... . Basically it 
will omit name service switch (NSS)

Questions is if this functionality is desired and if it could be accepted by 
upstream when I send a patch?

What you think?


More information about the Pkg-shadow-devel mailing list