Hi
Trying to post but keep getting errors for invalid characters.
I'm trying to make changes in the keychain access for a key access control:
goto keychain access
find the item
goto the access control
change to 'Allow all applications to access this item'.
How can i enable this setting for a key via command line?
thanks very much.
In general the
security tool is used for this sort of thing. I’m not entirely sure what workflow you’re looking for, but you can search its
man page for the work “access” to get an idea of what it’s capable of.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"WWDC runs Mon, 13 Jun through to Fri, 17 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face. http://developer.apple.com/wwdc/
During that attempt, are you getting a dialog box stating something along the lines of "security wants to use your confidential information stored in “smtp.gmail.com” in your keychain."
What user permissions is the command line using?
Otherwise, access controls are documented here - maybe they can help confirm your process: