[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: adduser/deluser on postinst

On 11/08/2007 Marc Haber wrote:
> <jfs@computer.org> wrote:
> >For some code examples which do work (and are used in several
> >packages) see:
> >
> >http://www.debian.org/doc/manuals/securing-debian-howto/ch9.en.html#s-bpp-lower-privs
> Why does this HOWTO suggest replicating code that is already in
> adduser (or should be there) in gazillion of maintainer scripts, which
> surely introduces a maintenance nightmare?

I guess that Javier wrote this without being aware of
http://wiki.debian.org/AccountHandlingInMaintainerScripts , but now I
stronly suggest to merge both documents.
And yes, it is a nightmare to maintain code like Javier suggested. But
the only alternative would be to make adduser Priority: required.
Otherwise there is no certainty that adduser is installed at package
purge time.


"In post-historical society, the rulers have ceased to rule,
		but the slaves remain slaves." - Perry Anderson

Reply to: