31.10.2009

How to configure pluggable authentication modules (pam) with the command pam-config?

This is neccesary because some linux distributions add the following header on all files inside /etc/pam.d/:

# This file is autogenerated by pam-config. All changes# will be overwritten.

Running pam-config --help shows 155 lines. For newbies this is completely unreadable. Querying the net with google gives the manpage but no examples...So let's start. To get the actual password check method run the following command: