what is the command to configure pam?

Is there a command to configure pam in FreeBSD 9? Something like sysinstall(8) to give a wizard? I am not talking about pam.d, I was trying to configure it for pam_ldap, I found this:

http://www.linux.com/learn/tutorials/442411-unite-your-linux-and-active-directory-authentication

and I want to do something like this, I don't know where::

Run authconfig to perform the configuration of "Pluggable Authentication." Note: To the best of my knowledge, authconfig is specific to Red Hat Linux distributions. For a sample system-auth configuration file, please see the example configuration file package associated with the article.

  1. Select LDAP to provide NSS information
  2. Select "Use LDAP"
  3. In the "Server" field, confirm that the IP address of the domain controller appears. Note: Do NOT select TLS. TLS is not supported with Active Directory until Certificate Services is installed. It is possible to leverage TLS within this infrastructure, but outside the scope of this document.
  4. In the "BaseDN:" field, add the location of your user accounts to have access to this device i.e. "cn=Users,dc=ad,dc=lanrx,dc=com"
  5. Click Next
  6. Select LDAP to provide authentication
  7. Select "Use Shadow Passwords"
  8. Select "Use MD5 Passwords"
  9. Select "Use LDAP Authentication"
  10. DO NOT SELECT "Use TLS"
  11. Server should be prepopulated with the domain controller
  12. BaseDN should also be prepopulated with the user location
  13. Select OK

I'd appreciate if you can help me :)
 
Back
Top