Configure Anaconda Enterprise 4 Repository to use PAM#

Open the Anaconda Enterprise 4 Repository configuration file $PREFIX/etc/anaconda-server/config.yaml and add the following configuration to enable Pluggable Authentication Module (PAM) support:

AUTH_TYPE: PAM

When switching authentication to PAM the admin account is lost, so you need to add your admin account again:

anaconda-server-admin set-superuser "jsmith"

To apply the changes, restart the Anaconda Enterprise 4 Repository server:

supervisorctl restart all

Open a new browser window and navigate to your local Anaconda Enterprise 4 Repository installation:

http://your.anaconda.server

NOTE: Replace “your.anaconda.server” with your actual Anaconda Enterprise 4 Repository server IP address or domain name.

You can now log in using your PAM credentials.

NOTE: To use the “shadow” PAM backend, add the user under which Anaconda Enterprise 4 Repository is running (usually “anaconda-server”) to the “shadow” group:

sudo usermod -a -G shadow anaconda-server