To enable authentication for Active Directory accounts and local accounts, you configure the Pluggable Authentication Module on the vCloud Usage Meter appliance.
Procedure
- Login to the vCloud Usage Meter console as usagemeter.
- Configure the common authentication providers in the /etc/pam.d/system-auth configuration file.
- Open the /etc/pam.d/system-auth file for editing.
sudo vi /etc/pam.d/system-auth
- Add the following line to the file.
auth sufficient pam_ldap.so auth required pam_unix.so
- Save the /etc/pam.d/system-auth file.
:wq!
- Open the /etc/pam.d/system-auth file for editing.
- Configure the common account settings in the /etc/pam.d/system-account configuration file.
- Open the /etc/pam.d/system-account file for editing.
sudo vi /etc/pam.d/system-account
- Add the following lines to the file.
account sufficient pam_ldap.so account required pam_unix.so account required pam_permit.so
- Save the /etc/pam.d/system-account file.
:wq!
- Open the /etc/pam.d/system-account file for editing.
- Configure the common passwords settings in the /etc/pam.d/system-password configuration file.
- Open the /etc/pam.d/system-password file for editing.
sudo vi /etc/pam.d/system-password
- Add the following lines to the file.
password sufficient pam_ldap.so try_first_pass password requisite pam_cracklib.so password required pam_unix.so sha512 shadow try_first_pass
- Save the /etc/pam.d/system-password file.
:wq!
- Open the /etc/pam.d/system-password file for editing.
- Configure the common session settings in the /etc/pam.d/system-session configuration file.
- Open the /etc/pam.d/system-session file for editing.
sudo vi /etc/pam.d/system-session
- Add the following lines to the file.
session required pam_unix.so session required pam_limits.so session optional pam_systemd.so session optional pam_loginuid.so session optional pam_ldap.so
- Save the /etc/pam.d/system-session file.
:wq!
- Open the /etc/pam.d/system-session file for editing.
- Configure the common authentication and account settings for the vCloud Usage Meter appliance.
- Open the /etc/pam.d/vmware-um-pam file for editing.
sudo vi /etc/pam.d/vmware-um-pam
- Add the following lines to the file.
auth sufficient /lib64/security/pam_ldap.so auth required /lib64/security/pam_unix_auth.so account sufficient /lib64/security/pam_ldap.so account required /lib64/security/pam_unix_acct.so
- Save the /etc/pam.d/vmware-um-pam file.
:wq!
- Open the /etc/pam.d/vmware-um-pam file for editing.