Bug#312937: marked as done (gksudo works badly for commands with NOPASSWD)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 18 Jun 2005 11:48:45 -0700


Your message dated Sat, 18 Jun 2005 14:32:29 -0400
with message-id <E1Dji7J-0004BN-00@newraff.debian.org>
and subject line Bug#312937: fixed in gksu 1.3.0-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Jun 2005 22:40:17 +0000
>From martins@ozlabs.org Fri Jun 10 15:40:17 2005
Return-path: <martins@ozlabs.org>
Received: from ozlabs.org [203.10.76.45] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DgsAi-0002ym-00; Fri, 10 Jun 2005 15:40:16 -0700
Received: by ozlabs.org (Postfix, from userid 1004)
	id E9E0167B2E; Sat, 11 Jun 2005 08:40:14 +1000 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Martin Schwenke <martin@meltin.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gksudo works badly for commands with NOPASSWD
Reply-To: Martin Schwenke <martin@meltin.net>
X-Mailer: reportbug 3.12
Date: Sat, 11 Jun 2005 08:40:08 +1000
Message-Id: <20050610224014.E9E0167B2E@ozlabs.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: gksu
Version: 1.2.5-3
Severity: normal


I add an item to /etc/sudoers so I can run it without a password:

  martins ALL=(ALL) NOPASSWD: /usr/X11R6/bin/xterm

I then run it under gksudo:

  gksudo /usr/X11R6/bin/xterm

I get the following weird behaviour:

  1. The xterm window opens without requiring a password.  Yay!  I
     close the xterm.

  2. The password dialog appears.  :-(

     If I click OK or press the Enter key the password dialog
     disappears and another xterm window opens.

     If I click Cancel I don't get another xterm.

The password dialog should not reappear!

I also see the following error each time an xterm opens:

  Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

I don't get this error if I run sudo instead of gksudo.

Thanks...

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-rc4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gksu depends on:
ii  libatk1.0-0                 1.10.1-2     The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgksu1.2-0                1.2.6-3      library providing su and sudo func
ii  libgksuui1.0-0              1.0.4-3      a graphical fronted to su library
ii  libglib2.0-0                2.6.4-1      The GLib library of C routines
ii  libgtk2.0-0                 2.6.7-2      The GTK+ graphical user interface 
ii  libpango1.0-0               1.8.1-1      Layout and rendering of internatio
ii  sudo                        1.6.8p7-1.1  Provide limited super user privile

-- no debconf information


---------------------------------------
Received: (at 312937-close) by bugs.debian.org; 18 Jun 2005 18:38:11 +0000
>From katie@ftp-master.debian.org Sat Jun 18 11:38:11 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DjiCp-0000Vh-00; Sat, 18 Jun 2005 11:38:11 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Dji7J-0004BN-00; Sat, 18 Jun 2005 14:32:29 -0400
From: Gustavo Noronha Silva <kov@debian.org>
To: 312937-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#312937: fixed in gksu 1.3.0-1
Message-Id: <E1Dji7J-0004BN-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 18 Jun 2005 14:32:29 -0400
Delivered-To: 312937-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: gksu
Source-Version: 1.3.0-1

We believe that the bug you reported is fixed in the latest version of
gksu, which is due to be installed in the Debian FTP archive:

gksu_1.3.0-1.diff.gz
  to pool/main/g/gksu/gksu_1.3.0-1.diff.gz
gksu_1.3.0-1.dsc
  to pool/main/g/gksu/gksu_1.3.0-1.dsc
gksu_1.3.0-1_i386.deb
  to pool/main/g/gksu/gksu_1.3.0-1_i386.deb
gksu_1.3.0.orig.tar.gz
  to pool/main/g/gksu/gksu_1.3.0.orig.tar.gz
gnome-sudo_1.3.0-1_all.deb
  to pool/main/g/gksu/gnome-sudo_1.3.0-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 312937@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gustavo Noronha Silva <kov@debian.org> (supplier of updated gksu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 18 Jun 2005 15:17:10 -0300
Source: gksu
Binary: gksu gnome-sudo
Architecture: source i386 all
Version: 1.3.0-1
Distribution: unstable
Urgency: low
Maintainer: Gustavo Noronha Silva <kov@debian.org>
Changed-By: Gustavo Noronha Silva <kov@debian.org>
Description: 
 gksu       - graphical frontend to su
 gnome-sudo - dumb package to provide smooth upgrade to gksu
Closes: 304047 309531 312937 314477
Changes: 
 gksu (1.3.0-1) unstable; urgency=low
 .
   * New upstream release
   - includes the Romanian translation (Closes: #309531)
   - works better with sudo not needing the password (Closes: #312937)
   - features a --always-ask-password (-a) to bypass
     trying to get password automatically (Closes: #314477)
   - will handle cases in which su does not need a password, too
     (Closes: #304047)
   * debian/control.in:
   - updated Build-Depends to have libgksu1.2 >= 1.3.1 because this
     version is using a new API function
   * debian/gksu.conffiles:
   - removed; lintian is reporting duplicate conffile, meaning that
     debhelper might be being able to take care of this itself
Files: 
 5939882ef27018701db0e6dfa2d3b975 1564 admin optional gksu_1.3.0-1.dsc
 84dbb05f60ac2c48d989a6dacabec794 557465 admin optional gksu_1.3.0.orig.tar.gz
 e1ec3cf9300aeec36bb59e872e97d50c 15728 admin optional gksu_1.3.0-1.diff.gz
 0d148f9d1dbe96df4adc797dd83503d2 15922 gnome optional gnome-sudo_1.3.0-1_all.deb
 2cce8c076a1dd13eb27bbc40a8cacdb4 60224 admin optional gksu_1.3.0-1_i386.deb

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

iD8DBQFCtGYht1anjIgqbEsRAvCWAKCjtv2M6AJflIkZDebymAmrQKcvfgCghgBB
vVe0ilu5n5FCc4PB0nGeZkU=
=2XlY
-----END PGP SIGNATURE-----