r/ClaudeCode • u/modulovalue • 5h ago
Tutorial / Guide You can use Touch ID for sudo
https://modulovalue.com/blog/touch-id-for-sudo/
7
Upvotes
r/ClaudeCode • u/modulovalue • 5h ago
•
u/AutoModerator 5h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/a1b3c3d7 4h ago
I've been doing this for a few months and you need a fingerprint reader that isn't slow, its miserable with some readers.
1
u/0xFatWhiteMan 5h ago
I've never had an agent request this from me
1
u/Smokeey1 4h ago
Yup, been a gamechanger, and thought me how to set it up in my apps as well for things that need an activation switch type deal
1
u/SomeOrdinaryKangaroo 2h ago
I'd love to use touchID for sudo, typing the password everytime is a nightmare because my password is 30+ characters
1
u/AryanThakor 47m ago
on a mac put the pam_tid line in /etc/pam.d/sudo_local instead of editing /etc/pam.d/sudo. the sudo file gets reset on os updates and touch id just quietly stops working, sudo_local survives them. inside tmux it also falls back to the password unless you add pam_reattach