Help with startup script - Debian
Ok... I'm running Debian, and having a bit of a problem here. I need a script that runs from init.d to be able to start as someone other than root. I've been playing around with su - username -c "/cantrememberpath/mserv" || exit 0
But it just won't do it. It'll at least start that way, but i can't shut it down, can't do anything, it just sits there displaying the garbage from the prog on the screen. It doesn't finish running the rest of the scripts... am I retarded? Should I be starting it from somewhere else? without the su stuff, it starts fine, it just doesn't work because it's not designed to run as root.
I am by no means a linux dude, I'm definitely an uber-noob. Man this stuff is different...