jcmax
@jcmax
Супер Пользователь

Можно ли установить приложения в Макос за SIP?

Добрый день, подскажите, а можно ли установить приложения которые можно было бы удалить только за SIP (System Integrity Protection), так, как нужен администратор, для других дел. нужно чтобы программу можно было удалить только из рековери раздела.
  • Вопрос задан
  • 78 просмотров
Решения вопроса 1
@elbrus56
Можно повесить флаг расширенных атрибутов после установки.

System Integrity Protection protects system files and directories that are flagged for protection. This happens either by adding an extended file attribute to a file or directory, by adding the file or directory to /System/Library/Sandbox/rootless.conf or both. Among the protected directories are: /System, /bin, /sbin, /usr (but not /usr/local).[8] The symbolic links from /etc, /tmp and /var to /private/etc, /private/tmp and /private/var are also protected, although the target directories are not themselves protected. Most preinstalled Apple applications in /Applications are protected as well.[1] The kernel, XNU, stops all processes without specific entitlements from modifying the permissions and contents of flagged files and directories and also prevents code injection, runtime attachment and DTrace with respect to protected executables.[9]
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы