suid works for scripts on some unix-likes OSes, but not Linux. This is for security reasons (see The Secure Programming for Linux and Unix HOWTO
I believe sudo will do it. For example, if your script is:
Add a line like this to your sudoers file (remember to use the visudo
program to edit the sudoers file - do not edit it directly).
username ALL = NOPASSWD: /usr/local/sbin/myscript
(where username is the user name of the user who should be able to execute the script with root privileges.
By the way, you should be very careful
about this. Scripts are easy to trick into doing the bidding of a malicious user (environment attacks for example).