Bug#3036: automatic adduser/addgroup in postinst (was Re: fingerd)
>>>>> "RM" == Raul Miller <rdm@tad.micro.umn.edu> writes:
RM> Except it does lookups at compile time (look at printuids, and look in
RM> Makefile for auto-uids.h:)
RM> Routines which use the compile time lookup are qmail-check,
RM> qmail-lspawn, qmail-queue, qmail-setup, qmail-start, and maybe
RM> qmail-rspawn (I've not read the source closely enough to find out).
Wouldn't it be possible to put those routines into a shared library
which get's created at installation time? Or, if dynamical linking
opens other security holes, provide a partially linked binary. During
the installation, compile the missing routines and link the binaries.
cheers,
Lukas
-------------------------------------------------------------------------------
Dr. Lukas Nellen | Email: lukas@teorica0.ifisicacu.unam.mx
Depto. de Fisica Teorica, IFUNAM |
Apdo. Postal 20-364 | Tel.: +52 5 622 5014 ext. 218
01000 Mexico D.F., MEXICO | Fax: +52 5 622 5015
Reply to: