LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-27-2003, 01:23 AM   #1
skubik
Member
 
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware64 15.0/current
Posts: 152

Rep: Reputation: 21
Question Trying to learn PAM...


Hello All,

I've spent the last few days reading as much as I can about the configuration of Linux-PAM, but it seems as though no matter how much I read about it, specifically the module types (auth, account, password, session) and control keys (requisite, required, sufficient, option), I just cannot wrap my head around the concepts.

Obviously I know what the syntax values are, but I come away with more questions than answers. For example, what, exactly, do each of those module types and control keys do, and when and why would I use them? How and what is the purpose of the modules on each line (/lib/security/pam_*.so), and again, why and when would I want to use them, and which ones do I know to use?

Can anyone help me out, or point me to a (well-written and easy-to-understand) document that might help walk me through the functionality of a PAM configuration file? I've read the documents on the Linux-PAM site (System Administrators Guide) as well as a few other documents I've searched the web for. I feel completely lost on this topic, so any help would be greatly appreciated.

Thank You,

- skubik.
 
Old 12-27-2003, 05:25 AM   #2
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Few thoughts.
You don't have to use PAM.
Took me more than a few days to wrap my hands around it. Just keep reading.
Slackware is one distro that doesn't use it.
After learning a lot about it, I decided I could live without PAM.
Some links if you haven't see them.
http://www.kernel.org/pub/linux/libs...-html/pam.html
http://linux-rep.fnal.gov/RHL-5.0-Us...al/doc080.html
http://corporate.linux.com/howtos/Us...WTO/x101.shtml
 
Old 12-27-2003, 06:45 AM   #3
skubik
Member
 
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware64 15.0/current
Posts: 152

Original Poster
Rep: Reputation: 21
Thanks for your input -X-,

I haven't checked out the links you provided yet, that'll be a 'tomorrow project'.
Yes, I am using Slackware, and I'm aware that PAM is not configured as part of Slackware by default. The reason I decided to attempt to learn how to administer and configure PAM is because I am attempting to setup the vsftpd FTP server for use with Virtual Users. Unfortunately, the only way that vsftpd seems to support virtual users is via PAM. Obviously since it's not part of Slackware, it causes a bit of a problem. :^)
So I decided that I would undertake a personal learning project to learn how to configure PAM, and implement it on my Slackware system.

Any additional thoughts, ideas, tips, etc. are appreciated. :^)

Thank You,

- skubik.
 
Old 01-16-2004, 12:24 AM   #4
mhanson
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
So did you have success with PAM yet?
I am going through the steps so that I can authenticate user logins via OpenLDAP.
I'm somewhat curious as to why Slackware distribution does not include PAM; could it be there are other methods of permitting directory-based authentication I am overlooking?
>M
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-22-2004 11:07 PM
PAM help manya Linux - Security 1 05-10-2004 09:39 AM
Pam Tinkster Slackware 7 07-03-2003 06:48 PM
Pam Mephisto Slackware 1 01-22-2003 02:35 AM
why no PAM? buttnutt Slackware 1 11-28-2002 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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