D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Getting KDE application(s) to run SUID root?

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Grant Sewell wrote:
> Hi all,
> 
> I have recently come across "NetworkManager" and it's KDE frontend 
> (knetworkmanager).  It looks very promising... but I am having one 
> little problem with it.  I have no doubt that it's gonna be really quite 
> easy to solve, I'm just being a bit thick lately.
> 
> If I run "$su -c knetworkmanager", then it fires up fine, drops itself 
> into the KDE System Tray nicely and works a treat.  If I try to run it 
> as a normal user, it fires up fine, drops itself into the KDE System 
> Tray and does nothing.  It fails to see the network devices so it won't 
> detect any wireless networks, etc, etc.
> 
> I have tried making knetworkmanager SUID root, but when I run it I get:
>     The KDE libraries are not designed to run with suid privileges.
>     ERROR: Communication problem with knetworkmanager, it probably crashed.
> 
> 
> Ideally I would like knetworkmanager to start on KDE startup, but just 
> getting it to work nicely as a normal user would be a start!  Anyone got 
> any nice suggestions?
> 
> Cheers.
> Grant.
> 

write a wrapper script ?

- --
Neil Stone

Systems Administrator
FlashTek UK

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d+(++) s: a-(?) C++++(--) UL++++$ P+ L+++ E- W+++ N+
o+ w--- O M PS+ Y+ PGP++ t+ 5+ X+ R+ tv+ b- DI++ D+++ G
e h--- r+++ y++++(**)
- -----END GEEK CODE BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0nffz3Av8JKgzxQRAl5RAJ4kfJn0yu+lthpsKrxjMRm1bnQNlACeP6/p
/96RjSsLcXA1pUDHEYGPfD8=
=AtvM
-----END PGP SIGNATURE-----

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html