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

Bug#358623: kwifimanager: should be called using kdesu



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.

Joseph M. Gaffney
aka CuCullin



Reply to: