as a simple shell script you'd be putting your root password in plain text if you put it as part of the command (hard coding).... BAAAAAAAAAAAAD (even if setting strict permissions)
You could use sudo (man sudo) edit /etc/sudoers to allow your user to run that program that normally requires root, and without a password, so the command in your script is
and it runs
more than one user? setup a group in sudoers, add the users to the group.
What is the script trying to do?
As an after thought (i'm still new to Linux and sripting), maybe you could pipe the correct column value from /etc/passwd or the shadow file and it would work, maybe worth a try.