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

Re: which X11 app can show wifi info



On 2022-06-15 13:59:44 +0300, Reco wrote:
> On Wed, Jun 15, 2022 at 11:33:00AM +0200, Vincent Lefevre wrote:
> > On 2022-06-15 09:43:50 +0300, Reco wrote:
> > > First example they provide in wpa_supplicant.conf(5) shows the way to
> > > use wpa_cli sensibly without being root.
> > > One just needs to define a group for wpa_supplicant's control
> > > socket, like this:
> > > 
> > > ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
> > 
> > This is either overkill (with a security risk, e.g. if this can allow
> > the user to become root),
> 
> It cannot allow that, barring the security bugs in wpa_supplicant.
> It does give the user full control over a wpa_supplicant process though
> (i.e. associate with arbitrary AP, terminate the process, etc).

OK. I suppose that this should be the goal if the user is in the
netdev group (I hope that if the user can terminate the process,
then he can also restart it).

> > or Debian should have done that by default.
> 
> That's my option too, but wpasupplicant package does not provide
> wpa_supplicant.conf by default.
> README.Debian should mention that bit of configuration probably.

Well, the wpasupplicant package could provide a default config file
(most packages do). I've just submitted a wishlist bug:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012844

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: