LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   authenticating my application (https://www.linuxquestions.org/questions/slackware-14/authenticating-my-application-766301/)

MysticalGroovy 11-02-2009 02:29 PM

authenticating my application
 
Hello all,

I would like my app (Slackpack) to have a dialog where user adds the root pwd and runs Slackpack 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 Slackpack,

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...) but OpenLDAP.

so im like ok, not a prob, ill include the OpenLDAP libraries read abit the docs and do it..

well the problem is I continue research and discover extraterrestrial terms like "OpenLDAP Server" and "OpenLDAP uses PAM..."

oh lord!

questions:
1)wtf is OpenLDAP and PAM :) are there are somekind of authentication software for authenticating users on linux systems?

2)i also run "ldapsearch" on console to see what is this all about and i got a "ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)" error message, so im like what is an LDAP server and why if its crucial for authenticating how can im logged in on my system with root and such a server is not running?!?

sorry for my english but please help!!!

Alien Bob 11-02-2009 02:39 PM

Slackware does not use PAM and it does not use LDAP for user authentication either.

Eric

MysticalGroovy 11-02-2009 02:43 PM

Hey bob and thank you for your answer...
ok, the how slackware authenticates users? there must be some lib/method whatever to grant root access to my app :)

MysticalGroovy 11-03-2009 08:56 AM

anyone? :)


All times are GMT -5. The time now is 02:33 PM.