You can either use the startup script in /etc/init.d:
Code:
mike ALL=/etc/init.d/NAME_OF_FTP_SCRIPT start, /etc/init.d/NAME_OF_FTP_SCRIPT stop, /etc/init.d/NAME_OF_FTP_SCRIPT restart
or, if you have Fedora or RedHat, you can give him permission to use the 'service' command:
Code:
mike ALL=/sbin/service FTP_SERVICE_NAME start, /sbin/service FTP_SERVICE_NAME stop, /sbin/service FTP_SERVICE_NAME restart, /sbin/service FTP_SERVICE_NAME status
The above will give him permission to start, stop, restart, and check the status of the ftp server daemon.
FTP_SERVICE_NAME will be whatever the name of the ftp service is, depending on which one you have installed (most likely vsftpd).
NAME_OF_FTP_SCRIPT will also likely change depending on which ftp service you have installed.
Remember to use the visudo command to edit the /etc/sudoers file, it locks the file from being accessed by anyone else while being edited and provides syntax error checking.