[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdenetwork/wifi
From:       Stefan Winter <mail () stefan-winter ! de>
Date:       2005-04-24 14:12:32
Message-ID: 200504241612.32660.mail () stefan-winter ! de
[Download RAW message or body]

Hello!

> Did you consider using kdesu or su to execute the code to join the
> network? You could install a non-suid helper app and then prompt for root
> password to run it if not already root.

That was one of the next things to come, yes. I am not yet sure how to do 
it... a helper app that aggregates the three commands would do, but how do I 
give it root privileges?

- kdesu is only meant for UI apps, no?
- su doesn't allow to feed the password as argument (normally quite sensible, 
but I am not sure how to get it in there otherwise). Feed it to the process' 
stdin?

Greetings,

Stefan Winter

-- 
This mail is guaranteed to be virus free because it was sent from a computer 
running linux.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic