Sudo

Links
Gentoo Sudo(ers) Guide

Config
The sudo configuration is managed by the /etc/sudoers file. This file SHOULD NEVER be edited through nano /etc/sudoers or vim /etc/sudoers or any other editor you might like. When you want to alter this file, you SHOULD USE visudo.

This tool makes sure that no two system administrators are editing this file at the same time, preserves the permissions on the file and performs some syntax checking to make sure you make no fatal mistakes in the file.