This page looks best with JavaScript enabled

Sudo on SLES Asking for Root Password?

 ·  ☕ 1 min read

    It’s a post-installation configuration that hasn’t been done. The /etc/sudoers file has the following section in it:

    The administrator needs to edit /etc/sudoers, using the visudo command, and comment out the final two lines above, or remove them altogether. Once done, individual user accounts can be added as follows:

    1
    2
    
    oracle ALL=(ALL) ALL
    norman ALL=(ALL) ALL
    

    Alternatively, groups can be given access as follows:

    1
    2
    
    %dba ALL=(ALL) ALL
    %oinstall ALL=(ALL) ALL
    

    Substituting the appropriate levels of commands and privileges of course!

    Share on

    Norman Dunbar
    WRITTEN BY
    Norman Dunbar
    Oracle DBA & developer. (Retired). Now a published book author!