Using sudo in RedHat

This post describes how to allow users in the wheel group to use the sudo command without being prompted for the root password

  1. Edit /etc/sudoers
    Uncomment the line

    %WHEEL ALL=(ALL) NOPASSWD: ALL
  2. Add a user to the wheel group
    # gpasswd -a username wheel
  3. This does also work on Fedora and other Redhat based distributions.