LinuxQuestions.org
Visit Jeremy's Blog.
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 12-06-2014, 07:33 PM   #166
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled

I would support PAM being included.

Quote:
Originally Posted by ReaperX7 View Post
Also doesn't OpenPAM provide the same modules as Linux-PAM?
It provides next to no modules. There's pam_deny, pam_permit and pam_unix. Linux-PAM on the other hand, well, here's the link, you can see for yourself. It would be a lot more work to add and test modules for OpenPAM.

Then there's also the question of whether you could use PAM knowledge from other Linux distros on Slackware if OpenPAM was used. Some of it would be usable, but why not all or most of it, which would be possible with Linux-PAM?
 
1 members found this post helpful.
Old 12-06-2014, 08:15 PM   #167
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
So basically OpenPAM only does the basics of (permit)yes, (deny)no, or (unix)default modules? Wouldn't that technically be easier to test?
 
Old 12-06-2014, 08:26 PM   #168
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
So basically OpenPAM only does the basics of (permit)yes, (deny)no, or (unix)default modules? Wouldn't that technically be easier to test?
The actual PAM modules being used in any particular setup is determined by the configuration file(s) in /etc/pam.d/. It doesn't matter if there are tons of modules in /usr/lib[64]/security; unless there are specific references to them in a configuration file, they won't be called. Testing a very basic Linux-PAM configuration would be easy: you just set up a simple PAM configuration with very few modules (like those mentioned) and test it.

OpenPAM sounds like a very peculiar beast with only 3 modules. There has to be 3rd party modules available from somewhere, otherwise OpenPAM just represents an unnecessary detour on the way to /etc/shadow. Or it could be intended as a PAM compatibility shim, I guess.
 
1 members found this post helpful.
Old 12-06-2014, 08:45 PM   #169
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
Quote:
Originally Posted by turtleli View Post
It provides next to no modules. There's pam_deny, pam_permit and pam_unix.
Are you sure about that? This list seems pretty complete, and according to the last paragraph in the introduction section, the document is based on OpenPAM as included with FreeBSD 5.x.

The above list of OpenPAM modules includes most of the usual suspects, like Kerberos, RADIUS, TACACS+ and others. No LDAP module though, which is a bit odd. I would still prefer Linux-PAM though, if nothing else then for compatibility reasons. I also happen to like pam_winbind.
 
Old 12-06-2014, 09:06 PM   #170
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Are you sure about that? This list seems pretty complete, and according to the last paragraph in the introduction section, the document is based on OpenPAM as included with FreeBSD 5.x.

The above list of OpenPAM modules includes most of the usual suspects, like Kerberos, RADIUS, TACACS+ and others. No LDAP module though, which is a bit odd. I would still prefer Linux-PAM though, if nothing else then for compatibility reasons. I also happen to like pam_winbind.
I'm pretty sure, I downloaded the source code to make sure because it felt a bit weird to me, the release notes also state only those three are included as well. The FreeBSD PAM modules I believe were developed for FreeBSD (and later imported by NetBSD) and are not part of OpenPAM.

Do correct me if I'm wrong though.
 
Old 12-06-2014, 09:35 PM   #171
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
LDAP might be configured through another more generalized module rather than a sole proprietary one. OpenLDAP is available to FreeBSD so it has to have a module or has functionality through a module.

The base package of OpenPAM does only have pam_unix, pam_permit, and pam_deny. However this should be more than enough for a package to test OpenPAM out with in the very basics of usages. I have a SlackBuild for this if anyone is interested.

Many of the other modules seem to be add in projects done for the distribution. I'll see what Gentoo has on this because they have it. I do know in the subversion/git of OpenPAM they added a new pam_oath module.

Last edited by ReaperX7; 12-07-2014 at 01:13 AM.
 
Old 12-08-2014, 11:32 PM   #172
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
It's Christmas soon, so I might as well ask for this to be included in Slackware. You never know.

http://www.freeipa.org/

Cheers,

Niki
 
Old 12-09-2014, 04:38 AM   #173
cockcrow
LQ Newbie
 
Registered: Dec 2014
Location: Brazil
Distribution: Slackware64
Posts: 24

Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by ReaperX7 View Post
[...]The base package of OpenPAM does only have pam_unix, pam_permit, and pam_deny. However this should be more than enough for a package to test OpenPAM out with in the very basics of usages. I have a SlackBuild for this if anyone is interested.[...]
Greetings!

I'm interested in OpenPAM.
 
Old 12-09-2014, 09:24 AM   #174
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I'll try and find some time today and upload it to my repository.

I think other plugins can be written for OpenPAM or imported though. The package is very barebones but provides a solid framework to build off of. I think Gentoo has a few custom modules for it.
 
  


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
slackware 15 and pam zerouno Slackware 319 01-18-2023 12:05 PM
PAM for Slackware 14.1? xflow7 Slackware 7 01-23-2014 03:20 AM
Possible last-minute inclusion in Slackware 1337 -- new Emacs released... Lufbery Slackware 4 03-13-2011 12:59 AM
PAM and Slackware 10.2 darkarcon2015 Slackware 15 10-20-2007 02:32 PM
PAM Available For Slackware 10.0 eric.r.turner Slackware 14 09-22-2006 12:08 PM

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

All times are GMT -5. The time now is 12:55 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