You could add the command to the sudoers file with nopasswd option for all users so that any user can just sudo it which I think is the proper way. You can look into using the setuid permission bit, this is what allows commands like passwd to be used by regular users even though it requires root privileges to modify the /etc/shadow and /etc/passwd.
|