Hi
For security reasons, I use a non-admin account for everyday operations. Unfortunately, I cannot install software (Cask) with the non-admin account. Do I have to log in with the admin account every time to install Cask? Is there a more convenient solution?
For security reasons, I use a non-admin account for everyday operations. Unfortunately, I cannot install software (Cask) with the non-admin account. Do I have to log in with the admin account every time to install Cask? Is there a more convenient solution?
Code:
brew install --cask tor-browser
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
==> Updated Homebrew from 65d3c6e950 to 9e4bedad2f.
Updated 2 taps (homebrew/core and homebrew/cask).
You have 2 outdated formulae installed.
==> Installing Cask tor-browser
Warning: macOS's Gatekeeper has been disabled for this Cask
==> Moving App 'Tor Browser.app' to '/Applications/Tor Browser.app'
Password:
john is not in the sudoers file.
This incident has been reported to the administrator.
==> Purging files for version 14.5.5 of Cask tor-browser
Error: Failure while executing; `/usr/bin/sudo -E -- /bin/cp -pR /opt/homebrew/Caskroom/tor-browser/14.5.5/Tor\ Browser.app /Applications/Tor\ Browser.app` exited with 1. Here's the output:
john is not in the sudoers file.
This incident has been reported to the administrator.