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

Fw: debian-live needs this issue to be addressed



FYI:

Date: Mon, 26 Mar 2007 15:25:07 -0300
From: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
To: Debian Bug Tracking System <410875@bugs.debian.org>
Subject: debian-live needs this issue to be addressed


Package: menu
Version: 2.1.33
Followup-For: Bug #410875

No, installing gksu and/or kdesu only partially addresses the problem.  While
it is true that both of these packages can be configured to use sudo instead
of su, some menu entries are run in the terminal and therefore cannot use
either graphical wrapper.  So it falls on su-to-root to decide how to acquire
root to run them.  The end result is that the user is prompted for a root
password which is not set, and therefore the menu entry is useless.  Actually,
it is worse than useless: it is broken, so far as the user of the livecd is
concerned.  A prompt appears for a password that they don't know (because no
password was ever set!) which is sure to cause a fair amount of frustration.
Also, this problem does not only afflict livecd users, but any user who
prefers sudo over su to become root on their system.

You already have a ~/.su-to-rootrc.  Why not make it possible for su-to-root
to be configured, like gksu, kdesu and sux to use sudo for text mode?
Something like SU_TO_ROOT_SU=sudo?

Although I understand sux is superior to su in that X credentials are
transferred, and wonder if sudo  has the same problem and therefore needs a
similar wrapper.  A couple of "sudox" implementations are:

http://www.mathematik.uni-wuerzburg.de/~vaeth/download/index.html
(but non-free, unfortunately)

and

http://www.getreu.net/
(no license published)

But this is a side issue.  It would be better to provide sudo as an
alternative now and worry about sudox later.

Ben

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages menu depends on:
ii  dpkg                        1.13.25      package maintenance system for Deb
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3

menu recommends no packages.

-- no debconf information
 
--
 ,-.  nSLUG    http://www.nslug.ns.ca   synrg@sanctuary.nslug.ns.ca
 \`'  Debian   http://www.debian.org    synrg@debian.org
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
             [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]


Reply to: