Comments (4)
That's simply how sudo works. sudo brew bundle install
will not work since brew will not work with sudo.
Your best guess is probably SUDO_ASKPASS
, which might also be a security problem
from homebrew-bundle.
Yes, sudo is just sudo. So whatever mechanisms sudo has to allow unattended access, you can use them for brew.
from homebrew-bundle.
Your best guess is probably
SUDO_ASKPASS
, which might also be a security problem
Yes, this is the solution or, worse, running as a user with sudo
NOPASSWD
(not recommended).
from homebrew-bundle.
For future reference, what you're suggesting is:
- Create a script like
echo "my perosnal password"
- Run
SUDO_ASKPASS=/path/to/script.sh brew bundle install
This will then run the script when brew uses sudo
to elevate privileges and inputs whatever the script returns to stdout into the sudo prompt, correct?
from homebrew-bundle.
Related Issues (20)
- Qs on merging Brewfiles. HOT 2
- [Feature] Support groups HOT 1
- Error: cannot load such file -- abstract_command HOT 2
- Collection of potential new Installers/Checkers/Dumpers HOT 12
- npm & pip installers HOT 16
- Vscode : Case sensitive issue is back HOT 6
- [Question] Can formula and cask have the same name? HOT 4
- brew bundle dump spawns many ruby processes HOT 12
- how to install only on specified macOS version or arch of OS HOT 1
- brew bundle [install] --cleanup removes dependencies when reading from stdin HOT 4
- Confusion on what should be dumped HOT 1
- VSCode@Insiders Support for Extensions HOT 6
- Error: private method `system' called for module Homebrew HOT 9
- `brew bundle cleanup`: exit nonzero if action would be taken (or flag to opt into nonzero exit code) HOT 2
- Linuxbrew: Error: End of file reached (brew update && brew upgrade)
- Error: Invalid Brewfile: no implicit conversion of Symbol into Integer HOT 1
- Add ability to provide context to what is being installed/updated HOT 7
- Improve `vscode` handling of local extensions HOT 5
- link and conflicts_with options do not work as expected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-bundle.