Bug#315635: /usr/bin/gksuexec: broken interface to user list

Hans Ulrich Niedermann Hans Ulrich Niedermann <debian@n-dimensional.de>, 315635@bugs.debian.org
Fri, 24 Jun 2005 09:59:16 +0200


Package: gksu
Version: 1.2.5-3
Severity: normal
File: /usr/bin/gksuexec


There are a number of interface issues with the user list in gksuexec:

1. The users in the list are ordered randomly.
   (They probably are ordered in /etc/passwd or UID sequence, but
    they look completely unordered to the user.)

2. The unordered list requires searching all the list to pick the user.
   This is tedious and error prone.

3. There is no incremental search in the user list.

4. And to top it all off, even if I know the user I want to run the
   program as in advance, I cannot just type in that user name and
   thus work around the unusable user list.

I suggest these changes:

1. Sort user names alphabetically to make looking for a specific name
   easier.

2. Add incremental search.
   I have is a standard way to do this, which is used in lots of
   different programs.

3. Make it possible to just enter a username, bypassing the user list.
   You can still choose not to accept user names which do not exist.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (700, 'unstable'), (100, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.10-swsusp2-ndim-2
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

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.4-3      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