Nmap Development mailing list archives

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


From: Gaetan Bisson <bisson () archlinux org>
Date: Fri, 17 Aug 2012 18:45:17 +1000

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.

Cheers.

-- 
Gaetan

Attachment: kdesu.patch
Description:

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

Current thread: