On Sat, Oct 08, 2011 at 03:40:40PM -0300, Aurélio A. Heckert wrote: > Package: menu > Version: 2.1.45 > Severity: important > Tags: patch > > When you try to open an application like Synaptic, from the menu, > the system uses the "su-to-root -X -c <cmd>", to run with privileges, > but when the user input a wrong password he is not notified. > > Test: > $ su-to-root -c ls > On text mode the user is prompted to try again.
Hello Aurélio, > $ su-to-root -X -c ls > On X11 mode the user has no idea what is happening. This works fine here. What graphical su program are you using ? Below is the transcript of SU_TO_ROOT_X=su-to-root LANG=C su-to-root -X -c ls About to execute ls. This command needs root privileges to be executed. Using su... Enter root password at prompt. Password: su: Authentication failure Incorrect password or command failed. Try again? (y/N)Y Password: I also tested SU_TO_ROOT_X=gksu and it also worked fine. > I make some improvements on su-to-root attached here as su-to-root.NEW > Now the graphical user will be asked to retry. > I also change the i18n strings to make the l10n easier. The software is already translated. By the changing the string you would force all the translators to update their work. Beside your version fails to translate (y/N) which is quite problematic since menu use 'locale yesexpr' which is expect the translated form. > 14a15,27 As an advice, always generate patches with 'diff -u'. Patches generated by 'diff' are unreadable. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org