GNU bug report logs - #40920
gnu: Add gtksu.

Previous Next

Package: guix-patches;

Reported by: "Raghav Gururajan" <raghavgururajan <at> disroot.org>

Date: Tue, 28 Apr 2020 02:36:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 40920 <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: "Raghav Gururajan" <raghavgururajan <at> disroot.org>
Cc: 40920 <at> debbugs.gnu.org
Subject: Re: [bug#40920] gnu: Add gtksu.
Date: Sun, 03 May 2020 14:38:29 +0800
"Raghav Gururajan" <raghavgururajan <at> disroot.org> writes:

> From 50743e3c242c3e5e10f5e144c72025610278c94d Mon Sep 17 00:00:00 2001
> From: Raghav Gururajan <raghavgururajan <at> disroot.org>
> 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'.




This bug report was last modified 5 years and 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.