Come disabilitare i servizi non necessari su Mac OS X

“/System/Library/LaunchDaemons/” – Daemons a livello di sistema forniti da Mac OS X

“/System/Library/LaunchAgents/” – Agents fornito da sistema Mac OS X.

“~/Library/LaunchAgents/” – Agents fornito dall’utente.

“/Library/LaunchAgents/” – Agents fornito dall’amministratore.

“/Library/LaunchDaemons/” – Daemons Demoni a livello di sistema forniti dall’amministratore.

 

Launchd gestisce i processi, sia per il sistema nel suo insieme che per i singoli utenti che utilizzano i file .plist.

Aprire il terminale e digitare i seguenti comandi per visualizzare i file di directory:

cd /System/Library/LaunchDaemons/
ls -l
ls -l | less

oppure

cd /System/Library/LaunchAgents/
ls -l
ls -l | less

Come disabilitare i servizi non necessari?

È necessario utilizzare il comando launchctl come segue:

sudo launchctl unload -w /path/to/.plist/file
sudo launchctl unload -w /System/Library/LaunchDaemons/file.plist

In questo esempio, stai disabilitando il servizio Bonjour, inserisci:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponderHelper.plist

RIFERIMENTI:

Loading