darwin: disable netbios on activation
We have received a notification from the German Federal Office for Information Security (BSI) about our NetBIOS being enabled, and it potentially being used for DDoS reflection attacks.
This commit is contained in:
parent
f27a163625
commit
8603c1d570
1 changed files with 7 additions and 0 deletions
|
@ -66,5 +66,12 @@
|
|||
StrictModes no
|
||||
'';
|
||||
|
||||
# Make sure to disable netbios on activation
|
||||
system.activationScripts.postActivation.text = ''
|
||||
echo disabling netbios... >&2
|
||||
launchctl disable system/netbiosd
|
||||
launchctl unload -w /System/Library/LaunchDaemons/com.apple.netbiosd.plist 2>/dev/null || true
|
||||
'';
|
||||
|
||||
time.timeZone = "GMT";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue