PAM (Pluggable Authentication Modules)
From MoodleDocs
Note: The PAM authentication plugin has been removed in Moodle 3.4. It is still available from https://github.com/moodlehq/moodle-auth_pam.
With PAM you can use the same user database for different applications log ins (SSO - Single Sign On). PAM also supports different authentication processes as required.
This method uses PAM to access the native usernames on this server. You have to install PAM Authentication Module in order to use this module.