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.
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.