Can't set time zone on M1 & 64 bit mac using command system setup
0
votes
1
answer
145
views
This is script which sets the timezones for various regions, so using the GUI is not an option, the script is for testing so not location based so I can't set the timezone based on the region.
### The Failure
sudo systemsetup -settimeZone Europe/Paris
2024-10-28 01:02:12.591 systemsetup[693:6346] ### Error:-99 File:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/Admin/InternetServices.m Line:379
Set TimeZone: Europe/Paris
I tried disabling csrutil
thinking that was blocking the command from running, but it didn't.
csrutil status
System Integrity Protection status: disabled.
What is blocking the running of the command:
sudo systemsetup -settimeZone
There are many more timezones to be tested as part of a wider project at work.
Remember using the GUI is too inefficient, it has to be commands.
Asked by Nickotine
(374 rep)
Oct 28, 2024, 12:13 AM
Last activity: Oct 28, 2024, 01:57 PM
Last activity: Oct 28, 2024, 01:57 PM