Previous Topic: Review the PrerequisitesNext Topic: Configure Sudo for Authorization Without Password When Using SSH Public Key Authentication


Modify the Default Sudo Settings in SUSE

By default, SUSE requires root password instead of the user password for authorization. A Sudo authentication does not work in Linux Backup Server because the Backup Server uses the user credentials for authorization. You can modify the default sudo settings to authorize the use of user credentials.

Follow these steps:

  1. Log in to the Linux node as root user.
  2. Open the /etc/sudoer file or run the visudo command.
  3. Type a comment on the settings as shown in the following example:

    Example:

    #Defaults targetpw    # ask for the password of the target user i.e. root
    
    #ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
    
  4. Verify the sudo command line now requires a user password instead of the root password for authorization.

You have successfully modified the default sudo settings.