mreynolds / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

92613d9 Bug 663191 - Don't use $USER in DSCreate.pm

Authored and Committed by nkinder 13 years ago
    Bug 663191 - Don't use $USER in DSCreate.pm
    
    The $USER environment variable is used in the instance creation
    and removal code to determine what location to use for initconfig
    files.  This will not work correctly if $USER is not set, or if
    one used su prior to running the installer.
    
    This patch uses DSUtil::getLogin instead, which gets the login
    name without using the $USER environment variable.