Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Running NMAP as a non root user - patch (capabilities)
From: Richard Moore <rich () westpoint ltd uk>
Date: Tue, 17 May 2005 11:27:29 +0100



Martin Mačok wrote:
Anyway, we could check if we have required capabilities if we are not
root. This is the way we do it (while using custom kernel module that
gives those capabilities to specified uids/gids):

http://Xtrmntr.org/ORBman/tmp/nmap-3.51-noroot_autocap.patch
(applies to 3.81 too)

Wouldn't this need a new configure check too? not all systems will
have the sys/capability.h header. eg. My suse 9.0 machines have it
but an older debian box doesn't.

Rich.
-- 
Richard Moore, Principal Software Engineer,
Westpoint Ltd,
Albion Wharf, 19 Albion Street, Manchester, M1 5LN, England
Tel: +44 161 237 1028
Fax: +44 161 237 1031


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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]