passwd.d

Mark Rosenstand <[email protected]> Thu, 02 Nov 2006 13:20:20 +0100
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
Hi!

As you probably know, many distributions have all sorts of weird
useradd/groupadd magic in their package install scripts. They tend to
get pretty ugly when something needs to change, and I imagine that they
aren't fun to maintain. Another problem is that various package managers
consider configuration changes on a per-file basis.

I was wondering if a {cron,inetd,profile}.d-style passwd.d directory
could help solve this, together with a small utility to synchronize the
entries with /etc/passwd for compatability purposes. I also realise that
this is a lot of work, especially with my knowledge of the shadow
codebase. So, before I open my editor, I'd like to hear people's
thoughts on this :)