pam-reattach
« Back to VersTracker
Description:
PAM module for reattaching to the user's GUI (Aqua) session
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Security
Tags: pam macos security authentication gui ssh
Install: brew install pam-reattach
About:
PamReattach is a PAM module that enables command-line applications to interact with the macOS GUI (Aqua) session. It solves the problem of GUI access restrictions in non-interactive contexts, such as SSH or cron jobs. This allows tools requiring graphical context to function correctly when executed outside a user's direct login session.
Key Features:
  • Enables GUI access for CLI applications via PAM
  • Designed for macOS security constraints
  • Lightweight and focused functionality
  • Integrates with standard PAM configuration
Use Cases:
  • Running GUI-requiring scripts via SSH on macOS
  • Executing cron jobs that need access to the user session
  • Automated GUI testing from non-interactive environments
Alternatives:
  • pam_session_open – General session management vs. specific GUI reattachment focus
Version History
Detected Version Rev Change Commit
Dec 22, 2024 2:11am 0 VERSION_BUMP 516b18bd