Task 1: Configure the SSH Daemon to use PAM on AIX Platforms

  1. Edit the PAM configuration file (
    /etc/pam.conf
    ) to add the SSH PAM authentication. For example, modify the entries as follows:
    sshd auth required pam_aix sshd account required pam_aix sshd password required pam_aix sshd session required pam_aix
  2. Edit the
    /lib/security/methods.cfg
    file by adding the following lines:
    PAM: program = /usr/lib/security/PAM PAMfiles: options = auth=PAM,db=BUILTIN
  3. Edit the
    /etc/security/login.cfg
    file to configure the authentication type to PAM.
    auth_type=PAM_AUTH
  4. Enable SSH PAM authentication by editing the following parameters in the
    /etc/ssh/sshd_conf
    configuration file:
    UsePAM yes
  5. Restart the SSH service.