Skip to main content

Questions tagged [doas]

Use this tag with questions regarding the use or configuration of the doas utility, used for executing a command or shell as another user.

4 questions with no upvoted or accepted answers
1 vote
0 answers
76 views

Why doesn't doas wget -qO- archive.tar.gz|doas tar -xz work as with sudo?

sudo wget -qO- https://go.dev/dl/go1.20.1.linux-amd64.tar.gz|sudo tar -xz works fine. doas wget -qO- https://go.dev/dl/go1.20.1.linux-amd64.tar.gz|doas tar -xz does not work. I get no input, it just ...
John Smith's user avatar
0 votes
0 answers
223 views

How to make doas ask for root password

I want to configure doas so that it asks for root password, but not for normal user password. How do I do that?
PuuRaidur's user avatar
0 votes
0 answers
614 views

doas doesn't run a /usr/sbin binary

I'm using Debian/GNU/Linux Unstable, and I was trying doas for the first time today, with the following simple config file: $ doas cat /etc/doas.conf permit persist alx as root While it worked for ...
alx - recommends codidact's user avatar
-3 votes
2 answers
109 views

Is there any way to prevent someone from running a shell as root?

This is a question I've pondered for a long time and thought was impossible. Is it possible to prevent administrators of a machine from bypassing the audit capabilities of sudo or doas? For instance, ...
Brian's user avatar
  • 1