Kismet Wireless

Kismet Forums

 

Posted by:ilf
Subject:2010-07-R1: suidroot problem
Date:16:42:29 05/10/2010

I installed 2010-07-R1 with "make suidroot":

-r-xr-xr-x 1 root root 267 2010-10-03 20:12 /usr/local/bin/kismet*
-r-xr-x--- 1 root kismet 5.1M 2010-10-03 20:12 /usr/local/bin/kismet_capture*
-r-xr-xr-x 1 root root 9.5M 2010-10-03 20:12 /usr/local/bin/kismet_client*
-r-xr-xr-x 1 root root 6.0M 2010-10-03 20:12 /usr/local/bin/kismet_drone*
-r-xr-xr-x 1 root root 12M 2010-10-03 20:12 /usr/local/bin/kismet_server*

My user is in the group 'kismet':

$ getent group kismet
kismet:x:1001:$USER

(Weirdly, $ groups doesn't list group kismet, but $ groups $USER does o_O)

Yet, starting it as $USER sais:

FATAL: !!! CRITICAL ERROR !!! - Could not launch kismet_capture control binary,
due to permission errors. To run Kismet suid-root your user MUST BE IN
THE 'kismet' GROUP. Use the 'groups' command to show what groups your
user is in, and consult the Kismet README for more information. - Kismet
will not operate correctly.

It works when i chgrp /usr/local/bin/kismet_capture to some other group $USER is in.

Either way, both ways also give me this error:

ERROR: IPC child Source 'wlan0' requires root permissions to open, but
we're not running as root. Something is wrong.

It works fine with "sudo kismet", but that's what we're trying to avoid.

Any idea?


Reply to this message