All Questions
3
questions
1
vote
1
answer
399
views
How to install packages in chroot when chroot is launched with doas?
On OpenBSD 7.2 stable, I've setup my chroot using this script:
#!/bin/ksh
dir="/jails/$1"
mkdir -p "$dir"
tar -C "$dir" -xzf /usr/src/base/base72.tgz
tar -C "$dir&...
2
votes
1
answer
6k
views
"doas" allow user to run command with other user and set environment variables
There are two normal users on my OpenBSD machine ("user" and "TESTUSER") and I have this doas config:
# cat /etc/doas.conf ...
2
votes
2
answers
1k
views
Why would root need to run unrestricted commands as itself via doas?
I've just come across doas, and while reading the man page for its configuration I found this example:
The following example permits users in group wsrc to build ports; wheel to execute commands as ...