Re: Patch to run as "nullmail"

Dan Stromberg <[email protected]> Tue, 31 May 2005 10:15:44 -0700
Newsgroups gmane.mail.nullmailer
Message-ID <[email protected]>
--=-Cy1zcmoOOIEBih37dkKt
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2005-05-29 at 09:54 -0600, Charles Cazabon wrote:
> Clint Pachl <[email protected]> wrote:
> > Because the install script (make install-root) requires the user
> > "nullmail", I thought it might be convenient to have nullmailer-send
> > set its own uid at startup. I'm not using any daemonizing/supervising
> > tools to manage nullmailer. Could also make this a switch on the cmdl.
> > Are there any problems with this configuration?
>=20
> Running as that user is fine, but it shouldn't require the addition of an=
y
> code to nullmailer.  This can be done in the shellscript that runs nullma=
iler
> using any tool you like -- the djb-esque approach is `setuidgid` or simil=
ar.
>=20
> Charles

Call me strange, but I believe that although this functionality isn't
needed by advanced users, it would likely be a big benefit to users who
don't realize they should be decreasing privilege as an extra step.


--=-Cy1zcmoOOIEBih37dkKt
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBCnJvAo0feVm00f/8RAubYAJ90+RcDyAC25Iz1FD7YIl3cHx3rwACeJ2TU
KxHpeWkkmvCb2X5+RnWkll0=
=7Pn1
-----END PGP SIGNATURE-----

--=-Cy1zcmoOOIEBih37dkKt--