Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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. :^)
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.