visudo is a command line tool that edits the sudoers file in a safe fashion. The
sudoers file (typically found at
/etc/sudoers) allows listed users access to execute to a subset of commands as the root user.
man visudo or
info visudo for more information