Bug#871688: exim4-base: using su in cronjob invokes a full pam-session. use runuser instead

Jakob Schürz wertstoffe at nurfuerspam.de
Fri Aug 25 03:44:49 UTC 2017


Am 2017-08-14 um 16:30 schrieb Marc Haber:
> On Thu, Aug 10, 2017 at 07:19:14PM +0200, Jakobus Schürz wrote:
>> You find my changes below to use runuser instead of su, which solves the
>> problems comming from the su-command.
> 
> Given that I have never heard of runuser in 20+ years of Unix
> experience, shouldn't probably the su man page mention runuser?

I've also heard about runuser first time, when i asked in the
systemd-list... It seems, it's build from the su-code-base (found a
Website on searching about this command) to avoid the problems if you
want to run a command as another UID/GID with a whole session... like my
Problem.

It's available since util-linux 2.23

:)

Greetings

Jakob






-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-maintainers/attachments/20170825/744fa4a2/attachment.sig>


More information about the Pkg-exim4-maintainers mailing list