Can Privilege Manager for Unix authenticate through Pam?
authenticate_pam
int authenticate_pam ( string user [, string service] )
Description:
authenticate_pam authenticates a user via the PAM (Pluggable Authentication Method) or SIA (Security Integration Architecture) APIs on the master.
This function is only available on platforms that have native support for PAM or SIA.
For further information on how to configure PAM or SIA, consult the documentation for your platform.
The service parameter identifies the name of the PAM service that will be used to authenticate the user. This can be any valid service name configured in the PAM/SIA system configuration. It defaults to the PAM service "login".
This function returns 0 to indicate failure and 1 to indicate success.
Example:
if (user=="paul" && basename(command)=="useradd")
{
if (!authenticate_pam(user, "sshd"))
{
reject;
}
runuser="root";
accept;
}
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center