Hello,
I need to run a command for current user. I tried with script but it work for root account.
I need the run this command for current users.
defaults write com.google.chrome IncognitoModeAvailability 0
Hello,
I need to run a command for current user. I tried with script but it work for root account.
I need the run this command for current users.
defaults write com.google.chrome IncognitoModeAvailability 0
@foreverkan See the https://scriptingosx.com/2020/08/running-a-command-as-another-user/ blog post detailing how to run something as the current user.
Is there a reason you are not doing this with a Configuration Profile?
Chrome Enterprise Policy List & Management | Documentation
2. Set policies - Chrome Enterprise and Education Help (google.com)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.