4 ms·
Note that you could just setup/run brew as another Admin useraccount (without using sudo.) So from your main non-Admin account you can then do `su - myadminuse
by DavideNL 4y ago
Note that you could just setup/run brew as another Admin useraccount (without using sudo.)
So from your main non-Admin account you can then do `su - myadminuser` to then run `brew install vim`, etc.
- ricardobeat 4y agoWon't this alternative admin account also have access to the entire filesystem during installs?
- DavideNL 4y agoThe point is; First of all, the standard (non-admin) user can't directly write to/change brew files. So neither can all the apps you run. You'd first have to change to the admin user with `su - myadminuser`. An admin user does not equal the 'root' user, which has even more permissions. You still have to first `sudo -i` as the admin user, to become root (which is not needed for brew.)