Skip to content

Instantly share code, notes, and snippets.

@bruvik
Forked from pmbuko/kerberos_id.sh
Last active August 29, 2015 14:10
Show Gist options
  • Save bruvik/86ec5e4c2785c9f794fb to your computer and use it in GitHub Desktop.
Save bruvik/86ec5e4c2785c9f794fb to your computer and use it in GitHub Desktop.
dscl /Search read /Users/$USER AuthenticationAuthority | egrep -o "[A-Z0-9._%+-]+@[A-Z0-9.-]+\.(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment