PAM (Pluggable Authentication Modules) is a service that implements modular authentication modules. PAM is implemented as a set of shared objects that are loaded and executed when a program needs to authenticate a user.

Files for PAM are typically located in the /etc/pam.d directory. But the pam.d directory is non-existent within my Slackware system. Do I have to install it? If yes, what is the name of the package?

  • 3
    If you need PAM, you're better off picking a Linux distribution that supports it already. It's not easy to add it to one that doesn't, since you'd have to rebuild every package that needs to support it (essentially almost rebuilding the whole distro from scratch.) Every major Linux distribution supports PAM, so just pick one that suits you well. Good luck! – filbranden Feb 26 at 3:50
  • @filbranden --> Thanks, unfortunately we have to work with Slackware – ABC Feb 26 at 7:28
  • "have to" --> why? And why do you think you need PAM support, what kind of external authentication are you trying to integrate? Everywhere in the system or just one specific daemon? – filbranden Feb 26 at 13:31

There is no PAM package in Slackware. It forces to many constraints on system (just like ie Gnome), and Slackware idea is to have modular system where packages can be easily replaced by user/admin.

There is also no unofficial package on https://slackbuilds.org/ , sorry.

  • 1
    Ok, thanks. But what alternative module can I use for authentication? – ABC Feb 26 at 3:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.