Subject: [bug#40920] gnu: Add gtksu.

From: [email-masked] (宋文武)
Date: Sun, 03 May 2020 14:38:29 +0800

"Raghav Gururajan" <[email-masked]> writes:

> From 50743e3c242c3e5e10f5e144c72025610278c94d Mon Sep 17 00:00:00 2001
> From: Raghav Gururajan <[email-masked]>
> Date: Mon, 27 Apr 2020 22:32:56 -0400
> Subject: [PATCH 2/2] gnu: Add gtksu.
>
> * gnu/packages/admin.scm (gtksu): New variable.

Hello, this patch looks good to me, but after install, it doesn't works..

I think gtksuwrap should be setup with 'setuid', and gtksu should look
it through PATH or under '/run/setuid-programs'.  Also this program
lookup executables in '_PATH_STDPATH' (and '_PATH_DEFPATH') from glibc's
'shadow.h' and 'paths.h', they're defined as
'/usr/bin:/bin:/usr/sbin:/sbin' and '/usr/bin:/bin', so we'd better
modify 'paths.h' in glibc or modify gtksu to use a suitable 'PATH'.