Haha yeah and storing your userpassword in the clear
Because you locale machine has been rooted eh?
Despite the clear text, I don't see another way without making the ENTIRE user root, and if the afformentioned user was hacked, I really don't see a diff since they are running on root anyway.
You 'could' obfusicate the script making it a bit better, but really, with mentiond methods, I would rather do to the script then having the entire user in root.