Getting the PAM environment