I want to run a command in the background as root. And I have a problem with **doas** command.
With **sudo**, I can use
sudo --background
. It will ask for password, then runs in the background. I cannot do doas &
because it will ask for the password in the background and stuck there forever.
I've checked the manpage but did not find the equivalent option for **doas**.
Asked by Livy
(455 rep)
Apr 22, 2023, 09:04 AM
Last activity: Apr 22, 2023, 10:10 AM
Last activity: Apr 22, 2023, 10:10 AM