$ sudo vim /etc/sudoers
# notice the CMD must be uppercase Cmnd_Alias CMD=/path/to/your/script
user ALL=NOPASSWD: CMD