Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2009

    authenticating my application

    Hello all,

    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.
    thank you

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    The Netherlands
    setuid() is what you want or a form of IPC

    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts