Attempting to create an applescript to delete network passwords in keychain access
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-15-2020 10:17 AM
I would like to create an Applescript to remove users kind: "network password" in their Keychain Access.
Any help or direction would be greatly appreciated.
Thank you,
Labels:
- Labels:
-
Scripts
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-16-2020 11:19 AM
@magtype The following Bash command should delete known entries:
/usr/bin/security delete-internet-password -l "${1}" /Users/${loggedInUser}/Library/Keychains/login.keychain-db
