HOWTO: Discovery of SLES machine with sudo account may fail if sudoer file is default

  • 7006018
  • 17-May-2010
  • 27-Apr-2012

Environment

Applies to: Portability Suite 8.1.0

Situation

Discovery of a SLES server with a sudo account may fail if two configuration lines are not removed from the default configuration. This will result a conversion or migration to fail when removing the controller from target during configuration of target operating system.
 

The default sudo configuration file related to this article will contain the below lines. With these two lines, executing sudo commands will prompt for root account password.

# In the default (unconfigured) configuration, sudo asks for the root password. 
# This allows use of an ordinary user account for  administration of a freshly installed system. When configuring sudo, delete the two following lines: 
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'! 
  

Resolution

Delete the above mentioned two lines from the sudo configuration file and save changes to successfully discover and convert this operating system using sudo account.