Wrong. ntop STARTS as whatever userid you're logged in / su as, i.e. root.
After it starts (and does a little processing, namely checking for nmap and opening the interface in promiscuous mode (the former actually also does the latter, so root is required for both), THEN ntop gives up privileges and assumes the id you give it. But the interface is in promiscuous mode, which is enough for the capture thread and for nmap to work ok going forward... -----Burton -----Original Message----- From: raptor [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 11:18 AM To: Burton M. Strauss III Cc: [EMAIL PROTECTED] Subject: Re: [Ntop] no OS scan ? On Fri, 27 Sep 2002 18:05:38 -0500 "Burton M. Strauss III" <[EMAIL PROTECTED]> wrote: |You start ntop running as root. It tests for nmap and also opens the |interface (libpcap) in promiscuous mode before it gives up privledges. ]- how is this done ?!! I have "-u" to set the user so I can give "ntop" and it starts as "ntop"-isn't it ? If I start as "root" it is not good? Probably i can't understand something ! _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://lists.ntop.org/mailman/listinfo/ntop
