Comments (2)
I can't be sure because I don't use macOS and can't support it. However, I can tell you that vidoas needs to be run as the root user (or using a tool like sudo or doas). This is mentioned in the script's manual page.
As for the install process, I'm not sure what is going wrong there, but it looks like something is blocking doas from being set up to run as root (setuid). My guess it you may need to manually change it using "sudo chmod 4755 /usr/local/bin/doas".
I would definitely not move the prefix to another location. The location shouldn't make any difference.
By the way, another macOS user posted recently and mentioned that homebrew sets up directories in /usr/ to be writable by the user. If your system does this it is a huge security issue as it means anyone can replace your doas binary or doas.conf file with their own and run any command as root. Make sure your directories are not writable by your user before you install doas.
from doas.
This can be closed now. I changed permissions and everything earlier but never got it to work out. All I did was run sudo make
, sudo make install
instead of make
, sudo make install
and it works fine now!
from doas.
Related Issues (20)
- how do you enable --with-timestamp HOT 1
- doas: Operation not permitted HOT 1
- Sudo askpass analog HOT 1
- Add -e known from sudo HOT 3
- persist is not effective if doas comes after /usr/bin/time. HOT 1
- [Git master] Vulnerable to privilege escalation using ioctls `TIOCSTI` and `TIOCLINUX` HOT 4
- doas: authentication failed on OPNsense HOT 10
- doas(1) Arguments like in sudo(8) HOT 5
- doas should check transitive writability of parent directories of config file HOT 3
- Allow multiple password attempts. HOT 1
- doas: syntax error at line 1 HOT 8
- How can I make doas show symbols or asteriks when I type my password, since I want some feedback when typing my password? HOT 1
- `persist` option does not work HOT 1
- become POSIX compliant HOT 3
- `doas` hangs when doas command pipes into another doas command HOT 1
- Request for Pacstall Support HOT 1
- It doesn't seems to work in Solus HOT 1
- ´doas -u user´ results in "doas: Operation not permitted" HOT 5
- doas: syntax error at line 1 HOT 1
- How to uninstall/purge doas? HOT 4
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 doas.