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

Re: Bug#358623: kwifimanager: should be called using kdesu



On Thursday 23 March 2006 20:44, Joseph M. Gaffney wrote:
> On Thursday 23 March 2006 02:06 pm, Christopher Martin wrote:
> > On Thursday 23 March 2006 10:15, Fathi Boudra wrote:
> > > Package: kwifimanager
> > > Version: 4:3.5.1-2
> > > Severity: normal
> > >
> > > kwifimanager should be called using kdesu and need to depends on
> > > wireless-tools instead of libiw28 because it uses and parses iwlist.
> >
> > The dependency we can add, but I'm not sure I like making users run
> > kwifimanager as root. It can be used as a network monitor without root
> > privileges, and to configure a user's wireless networks it will ask for
> > a root password when needed.
> >
> > The only problem I see at the moment is that it can't find iwlist,
> > since /sbin isn't in the normal user's path. But "iwlist $INTERFACE
> > scanning" will return information to non-root users. So perhaps a
> > better patch would be to make kwifimanager search in /usr/sbin
> > and /sbin, if it can't find iwlist in the regular path.
> >
> > I can't test kwifimanager too much without a connection, though. Let me
> > know what you think.
> >
> > Cheers,
> > Christopher Martin
>
> I'd say running as root is wrong as well.
>
> Though I do like the idea of searching /usr/bin and /sbin.  For the average
> user, this would be a big improvement imho.

I just checked with websvn.kde.org and this additional lookup has beend added 
to the KDE 3.5 branch about 2 weeks ago, so it should be in the 3.5.2 
release.
http://tinyurl.com/hk8rs

Cheers,
Kevin




Reply to: