Command disabling sudo access

Hi,

I have setup password less login to sudo for a particular group. if I do sudo /usr/local/sbin/group it will take me to the group without password. Recently i executed a command scl_source as source scl_source enable devtoolset-7 . After that my sudo is asking password not sure why

sudo /usr/local/sbin/group

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for user1:

This is what OS and version?

It is on "Red Hat Enterprise Linux Server release 7.5 "