Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Sudo doesn't work on AD domain - RHEL8

    Posted on

    Hello,

    I have 2 servers connected to Active Directory.

    On the servers, i configured /etc/sudoers.d/domain_admins with the following line :

    %MySudoGroup@domain.tld       ALL=(ALL)       ALL
    

    On the first server, it works perfeclty but not on the second.
    I checked all the possible parameters (those i know) but i don't see any difference between the 2 servers.

    On the first on, when i use sudo, it comes like this :

    [sudo] password for 
    

    On the second, it comes like

    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 :
    

    On the second case, it says me that the password is incorrect.

    What's wrong? All ideas are welcome.

    Regards,

    Bertrand

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat