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

List:       kde-devel
Subject:    Re: kdesu
From:       Nathan Toone <nathan () toonetown ! com>
Date:       2005-05-19 0:47:08
Message-ID: 200505181847.08924.nathan () toonetown ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 18 May 2005 02:59 pm, Barış Metin wrote:
> à ‡arÃ… Ÿamba 18 May 2005 23:56 tarihinde, Nathan Toone Ã… ŸunlarÄ ± yazmÄ ±Ã… ŸtÄ ±:
> > Is there some documentation somewhere that explains how to use kdesu from
> > within an application?  I'd like to have certain options in my
> > application have root priviliges (after prompting the user for the root
> > password)...
>
> KProcess is what you need.
> http://developer.kde.org/documentation/library/cvs-api/kdecore/html/classKP
>rocess.html

I was actually hoping I wouldn't have to use kprocess - I'd like to be able to 
run just a few lines of code as root...but the rest of the program as the 
user.

-Nathan

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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