On Thursday 15 June 2006 21:36, Mike Kelly wrote:
> As part of my original plans for my GLEP27 implementation, I was
> going to have my scripts automatically add the users requested by a
> package (for example, the cron user), to all the passwd backends
> listsed in /etc/nsswitch.conf.

nss is glibc-only, so such a solution would be inadequate

> However, in consultation with some 
> folks, it seems that what may be more desirable is to just add
> users/groups to the local files/compat backends instead, and not make
> any changes to the remote databases.

you mean update only /etc/passwd and /etc/groups ?  modifying those files 
directly should only happen as a fallback when all other methods fail

> Does anyone have any strong notion of any cases where it would be
> excessively bad for the package manager to try adding to, say, the
> nss_nis backend in addition to the nss_files backend, or cases where
> that would be a strongly desired behavior?

users should be added via the normal system utilities so you dont have to care 
about the underlying storage

perhaps making the account creation by configurable but with sane defaults 
setup for those of us who dont care
-mike

Attachment: pgpPkqHKOzC0I.pgp
Description: PGP signature

Reply via email to