IF you are using inetd, there is an option for which uid to use; the sytnax is
port type type user {no}wait user command IF you don't use inetd, then you should use start-stop-daemon, which allows you to specify the user and group . man start-stop-daemon Carl