authenticating my application
I would like to have a dialog in my app, where user adds the root pwd and runs my application as root.
just like kdesu dialog,
my problem is not the GUI part, but how to do it, i cant communicate with su command for sure. some guy at the qtcentre suggested me to use PAM to authenticate my app.
after a little bit of research on the internet i can see that Slackware is not using PAM for authentication (if i got it correctly, i dont know anythink about security issues and stuff...) and neither OpenLDAP as ive also informed.
so please help me to understand what libs/method to use for granting my application root access.