I want to start a program as root when booting, and will add one of the following lines to rc.local:

```
sudo /path/my_prog
sudo sh -c "/path/my_prog"
su -c "/path/my_prog"

```

What is the difference between this three lines, and which is the correct one?