Admin SetUp

[macos14]タッチIDを有効にする


【スクリプトエディタで開く】|

#!/bin/bash
#com.cocolog-nifty.quicktimer.icefloe
#
#################################################
###管理者インストールしているか?チェック
USER_WHOAMI=$(/usr/bin/whoami)
/bin/echo "実行ユーザー(whoami): $USER_WHOAMI"
if [ "$USER_WHOAMI" != "root" ]; then
  /bin/echo "このスクリプトを実行するには管理者権限が必要です。"
  /bin/echo "sudo で実行してください"
  ### path to me
  SCRIPT_PATH="${BASH_SOURCE[0]}"
  /bin/echo "/usr/bin/sudo \"$SCRIPT_PATH\""
  /bin/echo "↑を実行してください"
  exit 1
else
  ###実行しているユーザー名
  CONSOLE_USER=$(/bin/echo "show State:/Users/ConsoleUser" | /usr/sbin/scutil | /usr/bin/awk '/Name :/ { print $3 }')
  /bin/echo "コンソールユーザー(scutil): $CONSOLE_USER"
  ###実行しているユーザー名
  HOME_USER=$(/bin/echo "$HOME" | /usr/bin/awk -F'/' '{print $NF}')
  /bin/echo "実行ユーザー(HOME): $HOME_USER"
  ###logname
  LOGIN_NAME=$(/usr/bin/logname)
  /bin/echo "ログイン名(logname): $LOGIN_NAME"
  ###UID
  USER_NAME=$(/usr/bin/id -un)
  /bin/echo "ユーザー名(id): $USER_NAME"
fi
#################################################
###
STR_DATE=$(/bin/date +'%Y%m%d')
STR_BK_PATH="/private/etc/pam.d/sudo_local.$STR_DATE.template"
STR_TMP_PATH="/private/etc/pam.d/sudo_local.template"
STR_DIST_PATH="/private/etc/pam.d/sudo_local"

if [ -e "$STR_DIST_PATH" ]; then
  /bin/echo "すでに""$STR_DIST_PATH""ファイルが存在します"
  /bin/mv "$STR_DIST_PATH" "$STR_BK_PATH"
fi
/usr/bin/ditto "$STR_TMP_PATH" "$STR_DIST_PATH"
#/usr/bin/sed 's/#auth/auth/' "$STR_TMP_PATH" > "$STR_DIST_PATH"
/usr/bin/sed -i '' -e 's/^#auth/auth/g' "$STR_DIST_PATH"
/bin/chmod 444 "$STR_DIST_PATH"

exit 0


|

[bash]Microsoft 365 BusinessPro Suite Install(新規または上書き)

要管理者権限 sudo実行必須

【スクリプトエディタで開く】|

#!/bin/bash
#com.cocolog-nifty.quicktimer.icefloe

########################################
###管理者インストールしているか?チェック
USER_WHOAMI=$(/usr/bin/whoami)
/bin/echo "実行したユーザーは:$USER_WHOAMI"
if [ "$USER_WHOAMI" != "root" ]; then
  /bin/echo "このスクリプトを実行するには管理者権限が必要です。"
  /bin/echo "sudo で実行してください"
  ### path to me
  SCRIPT_PATH="${BASH_SOURCE[0]}"
  /bin/echo "/usr/bin/sudo \"$SCRIPT_PATH\""
  /bin/echo "↑を実行してください"
  exit 1
else
  ###実行しているユーザー名
  SUDO_USER=$(/bin/echo "$HOME" | /usr/bin/awk -F'/' '{print $NF}')
  /bin/echo "実行ユーザー:" "$SUDO_USER"
fi

#################################
#インストール基本
#################################

STR_URL="https://go.microsoft.com/fwlink/?linkid=2009112"

LOCAL_TMP_DIR=$(/usr/bin/sudo -u "$SUDO_USER" /usr/bin/mktemp -d)
/bin/echo "TMPDIR:" "$LOCAL_TMP_DIR"

###ファイル名を取得
PKG_FILE_NAME=$(/usr/bin/curl -s -L -I -o /dev/null -w '%{url_effective}' "$STR_URL" | /usr/bin/rev | /usr/bin/cut -d'/' -f1 | /usr/bin/rev)
/bin/echo "PKG_FILE_NAME" "$PKG_FILE_NAME"

###ファイル名指定してダウンロード
/usr/bin/sudo -u "$SUDO_USER" /usr/bin/curl -L -o "$LOCAL_TMP_DIR/$PKG_FILE_NAME" "$STR_URL" --http1.1 --connect-timeout 20

### インストール(上書き)を実行する
/usr/sbin/installer -pkg "$LOCAL_TMP_DIR/$PKG_FILE_NAME" -target / -dumplog -allowUntrusted -lang ja

exit 0


|

[scutil]subKey一覧

【スクリプトエディタで開く】

/usr/sbin/scutil <<<  "show Plugin:IPConfiguration"
/usr/sbin/scutil <<<  "show Plugin:InterfaceNamer"
/usr/sbin/scutil <<<  "show Plugin:KernelEventMonitor"
/usr/sbin/scutil <<<  "show Setup:"
/usr/sbin/scutil <<<  "show Setup:/"
/usr/sbin/scutil <<<  "show Setup:/Network/Global/IPv4"
/usr/sbin/scutil <<<  "show Setup:/Network/HostNames"
/usr/sbin/scutil <<<  "show Setup:/Network/Interface/en0/AirPort"
/usr/sbin/scutil <<<  "show Setup:/Network/Interface/en7"
/usr/sbin/scutil <<<  "show Setup:/Network/Interface/en8"

/usr/sbin/scutil <<<  "show Setup:/Network/Service/UUID"
/usr/sbin/scutil <<<  "show Setup:/Network/Service/UUID/IPv4"
/usr/sbin/scutil <<<  "show Setup:/Network/Service/UUID/IPv6"
/usr/sbin/scutil <<<  "show Setup:/Network/Service/UUID/Interface"
/usr/sbin/scutil <<<  "show Setup:/Network/Service/UUID/Proxies"

/usr/sbin/scutil <<<  "show Setup:/System"
/usr/sbin/scutil <<<  "show State:/IOKit/LowBatteryWarning"
/usr/sbin/scutil <<<  "show State:/IOKit/PowerManagement/CurrentSettings"
/usr/sbin/scutil <<<  "show State:/IOKit/PowerManagement/SystemLoad"
/usr/sbin/scutil <<<  "show State:/IOKit/PowerManagement/SystemLoad/Detailed"
/usr/sbin/scutil <<<  "show State:/Network/Global/DNS"
/usr/sbin/scutil <<<  "show State:/Network/Global/IPv4"
/usr/sbin/scutil <<<  "show State:/Network/Global/Proxies"
/usr/sbin/scutil <<<  "show State:/Network/Interface"
/usr/sbin/scutil <<<  "show State:/Network/Interface/anpi0/IPv6"
/usr/sbin/scutil <<<  "show State:/Network/Interface/anpi0/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/anpi0/LinkQuality"
/usr/sbin/scutil <<<  "show State:/Network/Interface/anpi1/IPv6"
/usr/sbin/scutil <<<  "show State:/Network/Interface/anpi1/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/anpi1/LinkQuality"
/usr/sbin/scutil <<<  "show State:/Network/Interface/awdl0/AirPort"
/usr/sbin/scutil <<<  "show State:/Network/Interface/awdl0/IPv6"
/usr/sbin/scutil <<<  "show State:/Network/Interface/awdl0/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/bridge0/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en0/AirPort"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en0/CaptiveNetwork"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en0/IPv4"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en0/IPv6"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en0/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en0/LinkQuality"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en0/SleepProxyServers"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en1/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en1/LinkQuality"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en2/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en2/LinkQuality"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en3/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en3/LinkQuality"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en4/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/en4/LinkQuality"
/usr/sbin/scutil <<<  "show State:/Network/Interface/llw0/IPv6"
/usr/sbin/scutil <<<  "show State:/Network/Interface/llw0/Link"
/usr/sbin/scutil <<<  "show State:/Network/Interface/lo0/IPv4"
/usr/sbin/scutil <<<  "show State:/Network/Interface/lo0/IPv6"
/usr/sbin/scutil <<<  "show State:/Network/Interface/lo0/LinkQuality"
/usr/sbin/scutil <<<  "show State:/Network/Interface/utun0/IPv6"
/usr/sbin/scutil <<<  "show State:/Network/Interface/utun1/IPv6"
/usr/sbin/scutil <<<  "show State:/Network/Interface/utun2/IPv6"
/usr/sbin/scutil <<<  "show State:/Network/MulticastDNS"
/usr/sbin/scutil <<<  "show State:/Network/NetBIOS"
/usr/sbin/scutil <<<  "show State:/Network/PrivateDNS"

/usr/sbin/scutil <<<  "show State:/Network/Service/UUID"
/usr/sbin/scutil <<<  "show State:/Network/Service/UUID/IPv6"

/usr/sbin/scutil <<<  "show State:/Network/Service/UUID/DHCP"
/usr/sbin/scutil <<<  "show State:/Network/Service/UUID/DNS"
/usr/sbin/scutil <<<  "show State:/Network/Service/UUID/IPv4"
/usr/sbin/scutil <<<  "show State:/Network/mDNSResponder/DebugState"
/usr/sbin/scutil <<<  "show State:/Users/ConsoleUser"
/usr/sbin/scutil <<<  "show com.apple.DirectoryService.NotifyTypeStandard:DirectoryNodeAdded"
/usr/sbin/scutil <<<  "show com.apple.MobileBluetooth"
/usr/sbin/scutil <<<  "show com.apple.opendirectoryd.node:/Contacts"
/usr/sbin/scutil <<<  "show com.apple.opendirectoryd.node:/Search"
/usr/sbin/scutil <<<  "show com.apple.sharing"
/usr/sbin/scutil <<<  "show com.apple.sharing:/AutoUnlock/Enabled"
/usr/sbin/scutil <<<  "show com.apple.sharing:/AutoUnlock/InProgress"
/usr/sbin/scutil <<<  "show com.apple.smb"



【スクリプトエディタで開く】

/bin/echo "show Plugin:IPConfiguration" | /usr/sbin/scutil
/bin/echo "show Plugin:InterfaceNamer" | /usr/sbin/scutil
/bin/echo "show Plugin:KernelEventMonitor" | /usr/sbin/scutil
/bin/echo "show Setup:" | /usr/sbin/scutil
/bin/echo "show Setup:/" | /usr/sbin/scutil
/bin/echo "show Setup:/Network/Global/IPv4" | /usr/sbin/scutil
/bin/echo "show Setup:/Network/HostNames" | /usr/sbin/scutil
/bin/echo "show Setup:/Network/Interface/en0/AirPort" | /usr/sbin/scutil
/bin/echo "show Setup:/Network/Interface/en7" | /usr/sbin/scutil
/bin/echo "show Setup:/Network/Interface/en8" | /usr/sbin/scutil
 | /usr/sbin/scutil
/bin/echo "show Setup:/Network/Service/UUID" | /usr/sbin/scutil
/bin/echo "show Setup:/Network/Service/UUID/IPv4" | /usr/sbin/scutil
/bin/echo "show Setup:/Network/Service/UUID/IPv6" | /usr/sbin/scutil
/bin/echo "show Setup:/Network/Service/UUID/Interface" | /usr/sbin/scutil
/bin/echo "show Setup:/Network/Service/UUID/Proxies" | /usr/sbin/scutil
 | /usr/sbin/scutil
/bin/echo "show Setup:/System" | /usr/sbin/scutil
/bin/echo "show State:/IOKit/LowBatteryWarning" | /usr/sbin/scutil
/bin/echo "show State:/IOKit/PowerManagement/CurrentSettings" | /usr/sbin/scutil
/bin/echo "show State:/IOKit/PowerManagement/SystemLoad" | /usr/sbin/scutil
/bin/echo "show State:/IOKit/PowerManagement/SystemLoad/Detailed" | /usr/sbin/scutil
/bin/echo "show State:/Network/Global/DNS" | /usr/sbin/scutil
/bin/echo "show State:/Network/Global/IPv4" | /usr/sbin/scutil
/bin/echo "show State:/Network/Global/Proxies" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/anpi0/IPv6" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/anpi0/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/anpi0/LinkQuality" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/anpi1/IPv6" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/anpi1/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/anpi1/LinkQuality" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/awdl0/AirPort" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/awdl0/IPv6" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/awdl0/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/bridge0/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en0/AirPort" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en0/CaptiveNetwork" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en0/IPv4" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en0/IPv6" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en0/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en0/LinkQuality" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en0/SleepProxyServers" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en1/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en1/LinkQuality" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en2/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en2/LinkQuality" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en3/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en3/LinkQuality" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en4/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/en4/LinkQuality" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/llw0/IPv6" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/llw0/Link" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/lo0/IPv4" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/lo0/IPv6" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/lo0/LinkQuality" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/utun0/IPv6" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/utun1/IPv6" | /usr/sbin/scutil
/bin/echo "show State:/Network/Interface/utun2/IPv6" | /usr/sbin/scutil
/bin/echo "show State:/Network/MulticastDNS" | /usr/sbin/scutil
/bin/echo "show State:/Network/NetBIOS" | /usr/sbin/scutil
/bin/echo "show State:/Network/PrivateDNS" | /usr/sbin/scutil
 | /usr/sbin/scutil
/bin/echo "show State:/Network/Service/" | /usr/sbin/scutil
/bin/echo "show State:/Network/Service//IPv6" | /usr/sbin/scutil
 | /usr/sbin/scutil
/bin/echo "show State:/Network/Service/UUID/DHCP" | /usr/sbin/scutil
/bin/echo "show State:/Network/Service/UUID/DNS" | /usr/sbin/scutil
/bin/echo "show State:/Network/Service/UUID/IPv4" | /usr/sbin/scutil
/bin/echo "show State:/Network/mDNSResponder/DebugState" | /usr/sbin/scutil
/bin/echo "show State:/Users/ConsoleUser" | /usr/sbin/scutil
/bin/echo "show com.apple.DirectoryService.NotifyTypeStandard:DirectoryNodeAdded" | /usr/sbin/scutil
/bin/echo "show com.apple.MobileBluetooth" | /usr/sbin/scutil
/bin/echo "show com.apple.opendirectoryd.node:/Contacts" | /usr/sbin/scutil
/bin/echo "show com.apple.opendirectoryd.node:/Search" | /usr/sbin/scutil
/bin/echo "show com.apple.sharing" | /usr/sbin/scutil
/bin/echo "show com.apple.sharing:/AutoUnlock/Enabled" | /usr/sbin/scutil
/bin/echo "show com.apple.sharing:/AutoUnlock/InProgress" | /usr/sbin/scutil
/bin/echo "show com.apple.smb" | /usr/sbin/scutil

|

NSGlobalDomain

ドメイン指定は3タイプありますが、どの記述でも結果は同じ

/usr/bin/defaults write -g NSNavPanelExpandedStateForSaveMode -bool YES
/usr/bin/defaults write -globalDomain NSNavPanelExpandedStateForSaveMode -boolean TRUE
/usr/bin/defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -boolean true



#!/bin/bash




##float
/usr/bin/defaults write NSGlobalDomain com.apple.springing.delay -float 0.4


##False
/usr/bin/defaults write NSGlobalDomain WebAutomaticSpellingCorrectionEnabled -boolean false
/usr/bin/defaults write NSGlobalDomain NSScrollAnimationEnabled -boolean false
/usr/bin/defaults write NSGlobalDomain AppleScrollerPagingBehavior -boolean false
/usr/bin/defaults write NSGlobalDomain AppleMiniaturizeOnDoubleClick -boolean false
/usr/bin/defaults write NSGlobalDomain com.apple.swipescrolldirection -boolean false

/usr/bin/defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -boolean false
/usr/bin/defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -boolean false
/usr/bin/defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -boolean false
/usr/bin/defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -boolean false
/usr/bin/defaults write NSGlobalDomain NSAutomaticTextCompletionEnabled -boolean false
/usr/bin/defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -boolean false


##True -boolean
/usr/bin/defaults write NSGlobalDomain AppleShowAllExtensions -boolean true
/usr/bin/defaults write NSGlobalDomain com.apple.springing.enabled -boolean true
/usr/bin/defaults write NSGlobalDomain NSAppSleepDisabled -boolean true
/usr/bin/defaults write NSGlobalDomain MultipleSessionEnabled -boolean true
/usr/bin/defaults write NSGlobalDomain AppleMetricUnits -boolean true
/usr/bin/defaults write NSGlobalDomain NSCloseAlwaysConfirmsChanges -boolean true
/usr/bin/defaults write NSGlobalDomain AppleMenuBarVisibleInFullscreen -boolean true
/usr/bin/defaults write NSGlobalDomain AppleSpacesSwitchOnActivate -boolean true
/usr/bin/defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -boolean true


## integer
/usr/bin/defaults write NSGlobalDomain com.apple.sound.beep.volume -integer 0
/usr/bin/defaults write NSGlobalDomain com.apple.sound.beep.flash -integer 0
/usr/bin/defaults write NSGlobalDomain com.apple.sound.uiaudio.enabled -integer 0
/usr/bin/defaults write NSGlobalDomain NSPersonNameDefaultShortNameEnabled -integer 1
/usr/bin/defaults write NSGlobalDomain com.example.autologout.AutoLogOutDelay -integer 1200



##string
/usr/bin/defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
/usr/bin/defaults write NSGlobalDomain AppleWindowTabbingMode -string "Always"
/usr/bin/defaults write NSGlobalDomain AppleMeasurementUnits -string "Centimeters"



exit 0

|

[SetUP]2:ネットワーク設定(セットアップ用)

A:WIFI手動設定
B:有線(手動・自動)
C:Bluetooth経由

電源ON後の最初のネットワーク接続時



A:WIFI手動設定

sh-3.2$ 

sh-3.2$ 

sh-3.2$ /usr/sbin/networksetup -setairportnetwork en0 SSID PWD





B:有線(手動・自動)



C:Bluetooth経由
Bluetooth経由でmobileconfigファイルを転送して設定するパターン
有線接続しないで、設定を手抜きしたい場合かな


|

[SetUP]1:ローカルアカウント設定

新規デバイスを起動して最初に作成される『アカウント』は
UID 501になります
管理者権限ありのAdminグループ GID 80 になります。

個人ユーザーの場合は、自分のアカウントになる場合が多い

UID501を狙い撃ちされる可能性があるので
501ユーザーは別にする方がいいかもしれな
ちなみに自分はUIDを1000番台に設定している

A:501ユーザーは自分用
B:501ユーザーは管理用
C:501ユーザーを作らない



|

[SetUP]4:セキュリティ設定

1:[fdesetup]ディスク暗号化
2:[spctl]実行許可(System Security Policy Assessment)
3:[csrutil]SIP(System Integrity Protection)
4:



[fdesetup]ディスク暗号化
トートPCは『必須』(紛失時に絶対必要)
重要:復旧キー (iCloud・テキスト)は、オンラインストレージ等に確実に保存する事

ステータス確認

sh-3.2$ 

sh-3.2$ 

sh-3.2$ /usr/bin/fdesetup status

FileVault is Off.

sh-3.2$ 

sh-3.2$ 

sh-3.2$ /usr/bin/sudo /usr/bin/fdesetup showdeferralinfo

設定実行

sh-3.2$ /usr/bin/sudo /usr/bin/fdesetup enable -keychain -verbose

Password:

fdesetup: device path = /

Enter the user name:ユーザーアカウント名

Enter the password for user 'ユーザーアカウント名':

Recovery key = 'XXXX-XXXX-XXXX-XXXX-XXXX-XXXX'

sh-3.2$ 

sh-3.2$ 

登録内容確認

sh-3.2$  /usr/bin/fdesetup list

Error: This command requires root access.

sh-3.2$ sudo  fdesetup list

admin,XXXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX

あなたのユーザー名,XXXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX

root,XXXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX

sh-3.2$ 

sh-3.2$ 

sh-3.2$ 

sh-3.2$ 


20220603150603_1336x684x1440



2:[spctl]実行許可(System Security Policy Assessment)

sh-3.2$ 

sh-3.2$ /usr/bin/sudo /usr/sbin/spctl --status

assessments enabled

sh-3.2$ 

sh-3.2$ /usr/bin/sudo /usr/sbin/spctl --master-disable

sh-3.2$ 

sh-3.2$ /usr/bin/sudo /usr/sbin/spctl --status

assessments disabled

sh-3.2$ 

20220603151045_1326x896x144_0



3:[csrutil]SIP(System Integrity Protection)
選択肢があります
A:iPhoneアプリをMacOSで利用したい場合
B:カーネル機能拡張を利用したい場合

A:iPhoneアプリをMacOSで利用したい場合
-->SIPは有効(初期設定のまま)の必要があります
B:カーネル機能拡張を利用したい場合
-->アンドロイドでUSBデザリング等が必要な場合

/usr/bin/csrutil status



/usr/bin/csrutil clear


/usr/bin/csrutil disable 

/usr/bin/csrutil disable --no-internal

/usr/bin/csrutil disable --without kext

/usr/bin/csrutil disable --without fs

/usr/bin/csrutil disable --without debug

/usr/bin/csrutil disable --without dtrace

/usr/bin/csrutil disable --without nvram


/usr/bin/csrutil disable --without kext  --without nvram


/usr/bin/csrutil enable --no-internal

/usr/bin/csrutil enable --without kext

/usr/bin/csrutil enable --without fs

/usr/bin/csrutil enable --without debug

/usr/bin/csrutil enable --without dtrace

/usr/bin/csrutil enable --without nvram


/usr/bin/csrutil enable --without kext --without debug

|

[SetUP]新規デバイスを設定する(まとめ)

1:ローカルアカウント設定
2:ネットワーク設定(セットアップ用)
3:MDM設定
4:セキュリティ設定
5:ネットワークアカウント設定
6:アプリケーションインストール

|

その他のカテゴリー

Acrobat Acrobat Annotation Acrobat Dialog Acrobat Form Acrobat JS Acrobat Open Acrobat Plugin Acrobat python Acrobat Reader Acrobat Sequ Acrobat Stamps Admin Admin Account Admin Apachectl Admin configCode Admin Device Management Admin LaunchServices Admin Locationd Admin loginitem Admin Maintenance Admin Permission Admin Pkg Admin Power Management Admin Printer Admin SetUp Admin SMB Admin System Information Admin Tools Admin Users Admin Volumes Adobe Apple AppleScript AppleScript Guide AppleScript Accessibility AppleScript AppKit AppleScript Applications AppleScript AppStore AppleScript Archive AppleScript Attributes AppleScript Automator AppleScript AVAsset AppleScript AVconvert AppleScript AVFoundation AppleScript AVURLAsset AppleScript BackUp AppleScript Barcode AppleScript Bash AppleScript Basic AppleScript Basic Path AppleScript Bluetooth AppleScript BOX AppleScript Browser AppleScript Calendar AppleScript CD/DVD AppleScript Choose AppleScript Chrome AppleScript CIImage AppleScript CloudStorage AppleScript Color AppleScript com.apple.LaunchServices.OpenWith AppleScript Console AppleScript Contacts AppleScript CotEditor AppleScript CURL AppleScript current application AppleScript Date&Time AppleScript delimiters AppleScript Desktop AppleScript Device AppleScript Disk AppleScript do shell script AppleScript Dock AppleScript DropBox AppleScript eMail AppleScript Encode Decode AppleScript Error AppleScript EXIFData AppleScript ffmpeg AppleScript File AppleScript Finder AppleScript Firefox AppleScript Folder AppleScript Fonts AppleScript GIF AppleScript HTML AppleScript Icon AppleScript Illustrator AppleScript Image Events AppleScript Image2PDF AppleScript ImageOptim Applescript iWork AppleScript Javascript AppleScript Jedit AppleScript Json AppleScript Label AppleScript List AppleScript locationd AppleScript LRC AppleScript LSSharedFileList AppleScript m3u8 AppleScript MakePDF AppleScript Map AppleScript Math AppleScript Microsoft AppleScript Microsoft Edge AppleScript Microsoft Excel AppleScript Mobileconfig AppleScript Mouse AppleScript Movie AppleScript Music AppleScript NetWork AppleScript Notes AppleScript NSArray AppleScript NSBitmapImageRep AppleScript NSBundle AppleScript NSCFBoolean AppleScript NSCharacterSet AppleScript NSColor AppleScript NSColorList AppleScript NSData AppleScript NSDictionary AppleScript NSError AppleScript NSEvent AppleScript NSFileAttributes AppleScript NSFileManager AppleScript NSFont AppleScript NSFontManager AppleScript NSImage AppleScript NSIndex AppleScript NSKeyedArchiver AppleScript NSKeyedUnarchiver AppleScript NSLocale AppleScript NSMutableArray AppleScript NSMutableDictionary AppleScript NSMutableString AppleScript NSNotFound AppleScript NSNumber AppleScript NSOpenPanel AppleScript NSPasteboard AppleScript NSPDFImageRep AppleScript NSpoint AppleScript NSPredicate AppleScript NSRange AppleScript NSRegularExpression AppleScript NSRunningApplication AppleScript NSScreen AppleScript NSSize AppleScript NSString AppleScript NSStringCompareOptions AppleScript NSTask AppleScript NSTimeZone AppleScript NSURL AppleScript NSURL File AppleScript NSURLBookmark AppleScript NSURLComponents AppleScript NSURLResourceKey AppleScript NSUserDefaults AppleScript NSUUID AppleScript NSView AppleScript NSWorkspace AppleScript Numbers AppleScript OAuth AppleScript ObjC AppleScript OneDrive AppleScript Osax AppleScript PDF AppleScript PDFAnnotationWidget AppleScript PDFContext AppleScript PDFDisplayBox AppleScript PDFDocumentPermissions AppleScript PDFKit AppleScript PDFnUP AppleScript PDFOutline AppleScript Photos AppleScript Photoshop AppleScript Plist System Events AppleScript PostScript AppleScript prefPane AppleScript Preview AppleScript Python AppleScript QR AppleScript QR Decode AppleScript QuickLook AppleScript QuickTime AppleScript record AppleScript Regular Expression AppleScript Reminders AppleScript ReName AppleScript Repeat AppleScript RTF AppleScript Safari AppleScript SaveFile AppleScript ScreenCapture AppleScript ScreenSaver AppleScript Script Editor AppleScript Script Menu AppleScript Shortcuts AppleScript Shortcuts Events AppleScript Sort AppleScript Sound AppleScript Spotlight AppleScript SRT AppleScript StandardAdditions AppleScript stringByApplyingTransform AppleScript System Events AppleScript System Settings AppleScript TemporaryItems AppleScript Terminal AppleScript Text AppleScript Text CSV AppleScript Text TSV AppleScript TextEdit AppleScript Translate AppleScript Trash AppleScript Twitter AppleScript UI AppleScript Unit Conversion AppleScript UTType AppleScript valueForKeyPath AppleScript Video AppleScript VisionKit AppleScript Visual Studio Code AppleScript webarchive AppleScript webp AppleScript Wifi AppleScript XML AppleScript XML EPUB AppleScript XML OPML AppleScript XML Plist AppleScript XML RSS AppleScript XML SVG AppleScript XML TTML AppleScript XML webloc AppleScript YouTube AppleScript Zero Suppress Applications Barcode OnLine Tools CityCode Design iPhone List Logs lsappinfo Memo Music perl PlistBuddy pluginkit postalcode ReadMe SF Symbols character id SF Symbols Entity sips Skype Slack sqlite TCC Tools Typography Video Wacom zoom