Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267322 - Starting net-analyzer/nmap (zenmap) as root fails sometimes due to bug in /usr/share/zenmap/su-to-zenmap.sh
Summary: Starting net-analyzer/nmap (zenmap) as root fails sometimes due to bug in /us...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 12:19 UTC by Henry Gebhardt
Modified: 2009-05-02 17:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
su-to-zenmap.sh.diff (su-to-zenmap.sh.diff,407 bytes, patch)
2009-04-25 16:36 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Gebhardt 2009-04-24 12:19:14 UTC
If none of gksu, kdesu, kde4su, ktsuss, or sudo are installed, then starting "Zenmap (as root)" from the start menu fails.

This occurrs with both nmap versions in portage right now (4.76 and 4.85_beta7).

The fix is to change the upper case "C" in line 48 of /usr/share/zenmap/su-to-zenmap.sh to lower case.

Thanks,
Henry

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-25 16:36:54 UTC
Created attachment 189398 [details, diff]
su-to-zenmap.sh.diff

Henry's suggestion in handy patch form :)
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2009-05-02 17:35:36 UTC
Fixed in CVS, thanks for the patch!