Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dummy101

macrumors newbie
Original poster
Apr 20, 2020
1
0
I used this code to prevent anyone from changing my safari homepage:

sudo dscl . mcxset /Users/USERNAME com.apple.Safari HomePage always -string "ADDRESS"

However, now i want to unlock it and change the homepage on the Safari preferences instead on the Terminal. Is there a way to undo this or any opposite command?
 
You can delete that setting with
sudo dscl . mcxdelete /Users/USERNAME com.apple.Safari HomePage
or
sudo dscl . mcxdelete /Users/USERNAME com.apple.Safari
and Log Out.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.