I like the way Ubuntu Linux works – all people in admin groups should able to run all commands after running it via sudo “command-name”. How do I setup sudo under CentOS or Red Hat Enterprise Linux to allow all members of the ‘admin’ group to run all commands?
I use sudo to provide permissions and command execution rights to other users under UNIX and Linux operating systems. However, I noticed something strange about sudo. When executing sudo, it will prompt for the user’s password the first time, but sudo no longer requires a password anymore when re-executing it. Why? Is this is a security risk?