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?
doas
- see password is read from stdin, not TTYdoas
configuration, or does it ask for a password every single time no matter how recently you last authenticated?