LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-02-2009, 02:29 PM   #1
MysticalGroovy
Member
 
Registered: Sep 2009
Location: Greece
Distribution: Slackware
Posts: 106

Rep: Reputation: 21
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!!!

Last edited by MysticalGroovy; 11-02-2009 at 02:30 PM.
 
Old 11-02-2009, 02:39 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Slackware does not use PAM and it does not use LDAP for user authentication either.

Eric
 
Old 11-02-2009, 02:43 PM   #3
MysticalGroovy
Member
 
Registered: Sep 2009
Location: Greece
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 21
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
 
Old 11-03-2009, 08:56 AM   #4
MysticalGroovy
Member
 
Registered: Sep 2009
Location: Greece
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 21
anyone?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
authenticating apache yawe_frek Linux - Server 2 06-19-2008 03:29 PM
NX not authenticating tallmtt Linux - Networking 3 04-03-2007 01:44 AM
help authenticating on NT domain c8a4v7 Linux - General 0 03-16-2007 04:36 PM
Dovecot not authenticating hiker75 Fedora 0 09-09-2006 01:53 PM
Authenticating Redhat Against AD zok Linux - Networking 1 09-06-2006 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration