Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

"Disable signed apps from being auto-permitted to listen through firewall" -- broken #58

Open
kristovatlas opened this issue May 31, 2016 · 2 comments

Comments

@kristovatlas
Copy link

On my machine, some (all?) settings written with or without sudo to /Library/Preferences/com.apple.* are overwritten when I logout and log back in.

Consequently this fix doesn't stick for me:
defaults write /Library/Preferences/com.apple.alf allowsignedenabled -bool false

The solution is to write it only for the current user:
defaults write ~/Library/Preferences/com.apple.alf allowsignedenabled -bool false

@taz77
Copy link

taz77 commented Jun 18, 2016

Confirm the same.

@Eitot
Copy link

Eitot commented Sep 5, 2016

I suspect it is because allowsignedenabled expects an integer, not a boolean. Accordingly, the correct setting should be:

# defaults write /Library/Preferences/com.apple.alf allowsignedenabled -int 0

Writing to the user domain is not going to work, because firewall settings and exceptions are managed locally, not per user.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants