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

List:       kde-devel
Subject:    Re: [OT] Change the user during application execution
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-10-17 15:44:23
[Download RAW message or body]

On Tuesday 17 October 2000 14:37, Joseph WENNINGER wrote :
>Hi
>
>Sorry for being off topic, but I don't know where too ask.
>
>I wrote an application (Klinuxscsimanager), which has to be run as root.
>How can I open a dialog to enter the root password and change to root rights 
>during application execution ?
>Are their more ways to accomplish this ? If yes, which is the best one ?

kdesu, as explained in a previous post.

Either as "kdesu appname", or you can incorporate it into your application
since kdesu comes with a library (libkdesu, obviously).

kdesu is in kdebase, libkdesu is in kdelibs.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://www.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2


>> Visit http://master.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