Artificial intelligent assistant

Detach a daemon using sudo? I noticed that `sudo` continues to run after executing any of the following lines. Is there any way to detach the daemon completely so `sudo` does not continue running? sudo -u user daemon & sudo -u user -b daemon

You can background it in one shot like this:


sudo -u user sh -c "daemon & disown %1"


Looking with `ps` will show that `daemon` is running as `user`. There will be no `sudo` associated with it.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy e878f8fad9eed0e3a0157d2c50001670