annotate doc/autostart.txt @ 16:50a1fe272c10

more security
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 01 Oct 2023 21:36:34 -0600
parents dfc36e7ed22c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 Autostart macOS:
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 1) Disable Mac OS SIP
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4 https://developer.apple.com/library/content/documentation/Security/Conceptual/System_Integrity_Protection_Guide/ConfiguringSystemIntegrityProtection/ConfiguringSystemIntegrityProtection.html
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5 Ask hosting support.
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7 2) Disable buit-in firewall
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8 sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.pfctl.plist
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 3) Add plists (need sudo password)
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
11 cd macos
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
12 ./addStartupScripts.sh
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
13
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
14 If you need to remove plists use
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
15 cd macos
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
16 ./removeStartupScripts.sh