Re: [PATCH] tests: Fix Permission denied on Fedora

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

 



On Sat, Dec 30, 2017 at 08:30:53AM +0900, Masashi Honma wrote:
> Th wpa_cli and hostapd_cli looks fails on Fedora without sudo.

Why is that the case? Is there no admin or adm group for the user (see
p2p0.conf GROUP=admin and start.sh updating that if needed)? What allows
the specific user to run sudo? Is that yet another group that start.sh
should change the group into?

> -	if $WPACLI -g /tmp/wpas-wlan$i ping | grep -q PONG; then
> +	if sudo $WPACLI -g /tmp/wpas-wlan$i ping | grep -q PONG; then

This could obviously be done to force the control interface connection
to work, but the goal of that GROUP=admin is to avoid this type of need
in the first place.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
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