Skip to main content

All Questions

Tagged with
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&...
neezer's user avatar
  • 31
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 ...
Hessnov's user avatar
  • 591
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 ...
ian's user avatar
  • 169