When you issue a sudo command you will be asked to type your password to execute it and this can be quite annoying, especially for people like me that open the terminal every 3 minutes and don’t want to login as root every time.
To solve this “problem” you need to edit sudo’s configuration file, located in /etc/sudoers, but it’s not recommended to do it directly. To modify this file, you have to use visudo that makes a temporary copy of the sudoers file and checks for errors before saving.
sudo visudo
In the bottom of the file type:
[username] ALL=(ALL) NOPASSWD: ALL
save the changes and exit.
You won’t be prompted for the password again when using sudo. Of course this applies only in terminal. For example, if you to install an .rpm package with Yum Extender, you must type in the password.