Package: nmap / 7.70+dfsg1-6

0001-use-su-to-root.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Hilko Bengen <bengen@debian.org>
Date: Fri, 25 Apr 2014 09:51:17 +0200
Subject: use su-to-root

---
 zenmap/install_scripts/unix/zenmap-root.desktop | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zenmap/install_scripts/unix/zenmap-root.desktop b/zenmap/install_scripts/unix/zenmap-root.desktop
index c5f4c10..f50029d 100644
--- a/zenmap/install_scripts/unix/zenmap-root.desktop
+++ b/zenmap/install_scripts/unix/zenmap-root.desktop
@@ -1,8 +1,8 @@
 [Desktop Entry]
 Name=Zenmap (as root)
 GenericName=GUI Port Scanner
-TryExec=su-to-zenmap.sh
-Exec=su-to-zenmap.sh %F
+TryExec=pkexec
+Exec=pkexec /usr/bin/zenmap %F
 Terminal=false
 Icon=zenmap
 Type=Application