potential bug in wpa_cli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If wpa_supplicant runs as non-root user (with CAP_NET_RAW and
CAP_NET_ADMIN), it is unable to reply to wpa_cli, when wpa_cli is run
by a user in control_interface_group.  It only works if either wpa_cli
is run by the same user that runs wpa_supplicant, or if it is run as

umask 0; wpa_cli

or if we give wpa_supplicant also CAP_DAC_OVERRIDE.

It seems wpa_cli on Linux creates sockets in /tmp with the wrong uid/gid
for wpa_supplicant to access them.  See the original Debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031375

Is there any suggested fix or advice from upstream?

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux