← Back to team overview

rapache-devel team mailing list archive

[Bug 237177] Re: when gksudo is rejected current operation is not cancelled

 

there is a python module called import gksu2 in python-gnome2-extras

This should give you what you need

-- 
when gksudo is rejected current operation is not cancelled
https://bugs.launchpad.net/bugs/237177
You received this bug notification because you are a member of Rapache
Developers, which is subscribed to Remote Apache Management tool .

Status in rapache: New

Bug description:
Depending on what he's doing, when user refuses to enter root's password, the current operation is not cancelled and the program will ask user password for every next command in the current operation.

How to reproduce:
$ sudo -k
$ ./rapache.py
click "new", enter a domain name and press Return.
When the gksudo dialog pops out click "cancel".
The program will ask the user for root's password 2-3 times.

Expected behaviour:
Once cancelled the gksudo, the program should cancel the entire vhost creation without asking the password anymore