Nmap Development mailing list archives

Re: [PATCH] Fix kdesu call in su-to-zenmap.sh


From: David Fifield <david () bamsoftware com>
Date: Sun, 19 Aug 2012 13:13:08 -0700

On Fri, Aug 17, 2012 at 06:45:17PM +1000, Gaetan Bisson wrote:
Dear Nmap developers,

When executing su-to-zenmap.sh with SU_TO_ROOT_X=kdesu, the command
finally run is:

      kdesu -u root "zenmap $@"

But kdesu fails to locate the "zenmap $@" binary. The correct way of
passing a one-argument string command to kdesu is through the -c option.
The attached patch fixes this bug.

Thanks, applied.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: