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

Peter Vrabec pvrabec at redhat.com
Thu Jul 8 12:47:28 UTC 2010


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?

Peter.



More information about the Pkg-shadow-devel mailing list