Skip to content

Instantly share code, notes, and snippets.

@zhiguangwang
Last active June 8, 2024 00:55
Show Gist options
  • Save zhiguangwang/98e58c7b696e2d120bff9e8b57dc1e20 to your computer and use it in GitHub Desktop.
Save zhiguangwang/98e58c7b696e2d120bff9e8b57dc1e20 to your computer and use it in GitHub Desktop.
Disable and Enable kdc on Mac OS X

If you don't like or need the kdc process on Mac OS X, which opens TCP port 88 to the world, you can disable it with launchctl.

Disable:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.Kerberos.kdc.plist

Enable:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.Kerberos.kdc.plist

For further details about kdc, see kdc -- Kerberos 5 server.

@n3b0r
Copy link

n3b0r commented Apr 8, 2020

Thanks!

@simonprovost
Copy link

Cheers!!!

@paopa
Copy link

paopa commented Apr 8, 2022

big thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment