Why doesn't doas wget -qO- archive.tar.gz|doas tar -xz work as with sudo?
1
vote
0
answers
102
views
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 freezes on me. I'm able to run other, simpler, commands with doas
.
I'm on Ubuntu 22.04 LTS (I installed doas
with apt install doas
) and my /etc/doas.conf
is permit jim as root
.
Why doesn't the command with doas
work as with sudo
?
Do I need to further configure doas
for the command to work?
Asked by John Smith
(827 rep)
Feb 16, 2023, 12:18 PM
Last activity: Feb 26, 2023, 05:45 PM
Last activity: Feb 26, 2023, 05:45 PM