pam-reattach

PAM module for reattaching to the user's GUI (Aqua) session

brewmacoslinux
Try with needOr install directly
Source

About

PAM module for reattaching to the user's GUI (Aqua) session

Commands

pam_reattach.so

Examples

Configure PAM to use pam-reattach in /etc/pam.d/sudo$ echo 'auth optional pam_reattach.so' | sudo tee -a /etc/pam.d/sudo
Verify pam_reattach.so is properly installed in PAM modules directory$ ls -la /usr/local/lib/pam/pam_reattach.so
Test sudo with pam-reattach enabled to allow GUI access$ sudo -v