Replaces sudo with su in init script

http://stackoverflow.com/questions/8940771/switch-user-in-a-init-script

Fix #800. Close #1017