diff options
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 0982a5a1f..1d9648403 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -783,6 +783,13 @@ sub selectCountry { $locale->{country} = $other || !@best ? $ext_country : $country; } +sub set_root_passwd { + my ($superuser, $authentication) = @_; + $superuser->{name} = 'root'; + write_passwd_user($superuser, $authentication->{md5}); + delete $superuser->{name}; +} + sub write_passwd_user { my ($u, $isMD5) = @_; |