com.apple.timezone.auto.plist moved in 10.14
In previous version of macOS you use to be able to toggle turning on and off the "Set time zone automatically using current location" from terminal by use this
sudo defaults write /Library/Preferences/com.apple.timezone.auto.plist Active -bool TRUE
Is seems in Mojave (10.14.2) the plist has move or no longer exists. I tried to manually create the plist in that location but it's ignored by the system. Does anyone know where the plist is stored now if it is at all? Is there a different way to change that setting now from the command line or is it now blocked entirely by Apple's new security updates?
macos terminal date time-zone macos-mojave
add a comment |
In previous version of macOS you use to be able to toggle turning on and off the "Set time zone automatically using current location" from terminal by use this
sudo defaults write /Library/Preferences/com.apple.timezone.auto.plist Active -bool TRUE
Is seems in Mojave (10.14.2) the plist has move or no longer exists. I tried to manually create the plist in that location but it's ignored by the system. Does anyone know where the plist is stored now if it is at all? Is there a different way to change that setting now from the command line or is it now blocked entirely by Apple's new security updates?
macos terminal date time-zone macos-mojave
add a comment |
In previous version of macOS you use to be able to toggle turning on and off the "Set time zone automatically using current location" from terminal by use this
sudo defaults write /Library/Preferences/com.apple.timezone.auto.plist Active -bool TRUE
Is seems in Mojave (10.14.2) the plist has move or no longer exists. I tried to manually create the plist in that location but it's ignored by the system. Does anyone know where the plist is stored now if it is at all? Is there a different way to change that setting now from the command line or is it now blocked entirely by Apple's new security updates?
macos terminal date time-zone macos-mojave
In previous version of macOS you use to be able to toggle turning on and off the "Set time zone automatically using current location" from terminal by use this
sudo defaults write /Library/Preferences/com.apple.timezone.auto.plist Active -bool TRUE
Is seems in Mojave (10.14.2) the plist has move or no longer exists. I tried to manually create the plist in that location but it's ignored by the system. Does anyone know where the plist is stored now if it is at all? Is there a different way to change that setting now from the command line or is it now blocked entirely by Apple's new security updates?
macos terminal date time-zone macos-mojave
macos terminal date time-zone macos-mojave
edited Dec 21 '18 at 16:05
asked Dec 21 '18 at 15:06
Dash
63
63
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
sudo systemsetup setusingnetworktime on
(or off
) seems to do the trick, but it also toggles "Set date and time automatically" as part of this.
I did come across this when looking for an answer. When I tested it the GUI in System Preferences > Date & Time > Time Zone was not updating the check box like the plist update way was so I was unsure if it was actually turning it on and off.
– Dash
Dec 21 '18 at 17:00
@Dash Okay, I've been working on this for a while with no luck. As far as I can see, the prefpane isn't writing to a file when the box is check/unchecked, which makes me think it's running some command that does the actual work. One option would be to use osascript to run a Applescript GUI script from the command line, but I'd like to think there's a better way. Hopefully I'll have a better answer for you by Sunday.
– JMY1000
Dec 21 '18 at 23:33
Yeah same here i have been trying to figure an easy way to replace what that did in my post. I will try writing an osascript now and see if that works. Only issues with that is that I know that Movjave has may block system events from running. I am trying to figure out a way for user without admin right the ability to enable "Set time zone automatically using current location" and then syc the current time
– Dash
2 days ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386677%2fcom-apple-timezone-auto-plist-moved-in-10-14%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
sudo systemsetup setusingnetworktime on
(or off
) seems to do the trick, but it also toggles "Set date and time automatically" as part of this.
I did come across this when looking for an answer. When I tested it the GUI in System Preferences > Date & Time > Time Zone was not updating the check box like the plist update way was so I was unsure if it was actually turning it on and off.
– Dash
Dec 21 '18 at 17:00
@Dash Okay, I've been working on this for a while with no luck. As far as I can see, the prefpane isn't writing to a file when the box is check/unchecked, which makes me think it's running some command that does the actual work. One option would be to use osascript to run a Applescript GUI script from the command line, but I'd like to think there's a better way. Hopefully I'll have a better answer for you by Sunday.
– JMY1000
Dec 21 '18 at 23:33
Yeah same here i have been trying to figure an easy way to replace what that did in my post. I will try writing an osascript now and see if that works. Only issues with that is that I know that Movjave has may block system events from running. I am trying to figure out a way for user without admin right the ability to enable "Set time zone automatically using current location" and then syc the current time
– Dash
2 days ago
add a comment |
sudo systemsetup setusingnetworktime on
(or off
) seems to do the trick, but it also toggles "Set date and time automatically" as part of this.
I did come across this when looking for an answer. When I tested it the GUI in System Preferences > Date & Time > Time Zone was not updating the check box like the plist update way was so I was unsure if it was actually turning it on and off.
– Dash
Dec 21 '18 at 17:00
@Dash Okay, I've been working on this for a while with no luck. As far as I can see, the prefpane isn't writing to a file when the box is check/unchecked, which makes me think it's running some command that does the actual work. One option would be to use osascript to run a Applescript GUI script from the command line, but I'd like to think there's a better way. Hopefully I'll have a better answer for you by Sunday.
– JMY1000
Dec 21 '18 at 23:33
Yeah same here i have been trying to figure an easy way to replace what that did in my post. I will try writing an osascript now and see if that works. Only issues with that is that I know that Movjave has may block system events from running. I am trying to figure out a way for user without admin right the ability to enable "Set time zone automatically using current location" and then syc the current time
– Dash
2 days ago
add a comment |
sudo systemsetup setusingnetworktime on
(or off
) seems to do the trick, but it also toggles "Set date and time automatically" as part of this.
sudo systemsetup setusingnetworktime on
(or off
) seems to do the trick, but it also toggles "Set date and time automatically" as part of this.
answered Dec 21 '18 at 16:34
JMY1000
25917
25917
I did come across this when looking for an answer. When I tested it the GUI in System Preferences > Date & Time > Time Zone was not updating the check box like the plist update way was so I was unsure if it was actually turning it on and off.
– Dash
Dec 21 '18 at 17:00
@Dash Okay, I've been working on this for a while with no luck. As far as I can see, the prefpane isn't writing to a file when the box is check/unchecked, which makes me think it's running some command that does the actual work. One option would be to use osascript to run a Applescript GUI script from the command line, but I'd like to think there's a better way. Hopefully I'll have a better answer for you by Sunday.
– JMY1000
Dec 21 '18 at 23:33
Yeah same here i have been trying to figure an easy way to replace what that did in my post. I will try writing an osascript now and see if that works. Only issues with that is that I know that Movjave has may block system events from running. I am trying to figure out a way for user without admin right the ability to enable "Set time zone automatically using current location" and then syc the current time
– Dash
2 days ago
add a comment |
I did come across this when looking for an answer. When I tested it the GUI in System Preferences > Date & Time > Time Zone was not updating the check box like the plist update way was so I was unsure if it was actually turning it on and off.
– Dash
Dec 21 '18 at 17:00
@Dash Okay, I've been working on this for a while with no luck. As far as I can see, the prefpane isn't writing to a file when the box is check/unchecked, which makes me think it's running some command that does the actual work. One option would be to use osascript to run a Applescript GUI script from the command line, but I'd like to think there's a better way. Hopefully I'll have a better answer for you by Sunday.
– JMY1000
Dec 21 '18 at 23:33
Yeah same here i have been trying to figure an easy way to replace what that did in my post. I will try writing an osascript now and see if that works. Only issues with that is that I know that Movjave has may block system events from running. I am trying to figure out a way for user without admin right the ability to enable "Set time zone automatically using current location" and then syc the current time
– Dash
2 days ago
I did come across this when looking for an answer. When I tested it the GUI in System Preferences > Date & Time > Time Zone was not updating the check box like the plist update way was so I was unsure if it was actually turning it on and off.
– Dash
Dec 21 '18 at 17:00
I did come across this when looking for an answer. When I tested it the GUI in System Preferences > Date & Time > Time Zone was not updating the check box like the plist update way was so I was unsure if it was actually turning it on and off.
– Dash
Dec 21 '18 at 17:00
@Dash Okay, I've been working on this for a while with no luck. As far as I can see, the prefpane isn't writing to a file when the box is check/unchecked, which makes me think it's running some command that does the actual work. One option would be to use osascript to run a Applescript GUI script from the command line, but I'd like to think there's a better way. Hopefully I'll have a better answer for you by Sunday.
– JMY1000
Dec 21 '18 at 23:33
@Dash Okay, I've been working on this for a while with no luck. As far as I can see, the prefpane isn't writing to a file when the box is check/unchecked, which makes me think it's running some command that does the actual work. One option would be to use osascript to run a Applescript GUI script from the command line, but I'd like to think there's a better way. Hopefully I'll have a better answer for you by Sunday.
– JMY1000
Dec 21 '18 at 23:33
Yeah same here i have been trying to figure an easy way to replace what that did in my post. I will try writing an osascript now and see if that works. Only issues with that is that I know that Movjave has may block system events from running. I am trying to figure out a way for user without admin right the ability to enable "Set time zone automatically using current location" and then syc the current time
– Dash
2 days ago
Yeah same here i have been trying to figure an easy way to replace what that did in my post. I will try writing an osascript now and see if that works. Only issues with that is that I know that Movjave has may block system events from running. I am trying to figure out a way for user without admin right the ability to enable "Set time zone automatically using current location" and then syc the current time
– Dash
2 days ago
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386677%2fcom-apple-timezone-auto-plist-moved-in-10-14%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown