I\'m writing an init script which is supposed to execute a single command as a user different than root. This is how I\'m doing it currently: sudo -u username comm
sudo -u username comm
If you have start-stop-daemon
start-stop-daemon --start --quiet -u username -g usergroup --exec command ...