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

Re: which X11 app can show wifi info



On Wed 15 Jun 2022 at 11:16:40 +0200, Vincent Lefevre wrote:

> On 2022-06-15 00:19:54 -0500, David Wright wrote:
> > On Wed 15 Jun 2022 at 03:30:53 (+0200), Vincent Lefevre wrote:
> > > On 2022-06-14 15:43:40 +0100, Brian wrote:
> > > > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote:
> > > > > No issues with iwlist and nmcli.
> > > > 
> > > > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs
> > > > when run as root.
> > > 
> > > For security reasons, I don't want to run them as root.
> > 
> > Then don't run them? You can put  wpa_cli status  into sudoers
> > so that it will only run with that command.
> > 
> > > The iwlist and nmcli utilities don't need root to work correctly.
> > 
> > Run them then?
> 
> The OP wanted an X11 app, while iwlist and nmcli are just command-line
> utilities (though one may want to write a script to show information
> in an X11 app, a text terminal or something else?). But my remark was
> mainly: the iwlist and nmcli utilities can get the information as a
> normal user, so there is a major limitation in wpa_gui and wpa_cli.

This limitation does not exist. wpa_gui and wpa_cli are both capable
of being run as a mormal user.

-- 
Brian.


Reply to: