mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2024-12-22 21:01:34 -05:00
add reset TCC info
This commit is contained in:
parent
a35fa703eb
commit
601d3bc0b8
@ -86,6 +86,18 @@ macOS has permissions that apply to all software across the system, called Trans
|
||||
|
||||
The Downloads, Desktop, Documents, Movies, Music, and Pictures folders for each user in particular are protected by permissions and thus are more secure than other places you might save your files. Consider using these folders for particularly sensitive data.
|
||||
|
||||
TCC doesn't have temporary permissions, so it can be useful to reset all premissions for an app at once. To do this, first find the app's bundle ID by running the command:
|
||||
|
||||
```zsh
|
||||
osascript -e 'id of app "[name of app]"'
|
||||
```
|
||||
|
||||
Reset the permissions with the command:
|
||||
|
||||
```zsh
|
||||
sudo tccutil reset All [app.bundle.id]
|
||||
```
|
||||
|
||||
## XProtect
|
||||
|
||||
XProtect is the built-in antivirus software in macOS. Like all AV, it's a last line of defense after all others have been bypassed.
|
||||
|
Loading…
Reference in New Issue
Block a user