Skip to content

Instantly share code, notes, and snippets.

View brendandebeasi's full-sized avatar
🧀

Brendan DeBeasi brendandebeasi

🧀
View GitHub Profile
@brendandebeasi
brendandebeasi / touch-id-sudo-tmux.md
Last active February 6, 2026 19:34
Touch ID for sudo in tmux (macOS) - fix with pam_reattach

Touch ID for sudo in tmux (macOS)

By default, Touch ID authentication for sudo doesn't work inside tmux sessions. This is because tmux runs in a different bootstrap namespace and can't access the Security framework's authentication context.

Fix

1. Install pam-reattach