I want to write an init service script which runs the program as a particular user (and not root). I will then chkconfig this script and install into my production run level.
I could just put a su command in the script but I was wondering if there is a best practise of doing this.
Thanks, Garry