What is the Solaris 11.4 equivalent of pam_succeed_if.so
I'm trying to give a user permission to su into another account with having to type in the password, out on the internet this works for linux:
/etc/pam.d/su
--
auth [success=ignore default=1] pam_succeed_if.so user = <someuser>
auth sufficient pam_succeed_if.so use_uid user ingroup <group that someuser is in>
--
but pam_succeed_if doesn't exist and pam_allow didn't work.