guix-patches
[Top][All Lists]
Advanced

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

[bug#40920] gnu: Add gtksu.


From: 宋文武
Subject: [bug#40920] gnu: Add gtksu.
Date: Sun, 03 May 2020 14:38:29 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

"Raghav Gururajan" <address@hidden> writes:

> From 50743e3c242c3e5e10f5e144c72025610278c94d Mon Sep 17 00:00:00 2001
> From: Raghav Gururajan <address@hidden>
> 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'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]