Here is one way to do it. Edit the /etc/sudoers file, but first be warned that it is recommended that you edit this file with a utility called
visudo which performs extra validation on the
sudoers file to make sure there are no syntax problems. The potential is there to lock a user out of the system otherwise. You could add a line similar to the following:
Code:
<username> ALL=(root) <path_to_command_here>
Where <username> is the name of your user and <path_to_command_here> is either the path to a single command or a comma separated list of commands. Give that a try and let me know if this was helpful.
Regards,
Fordeck