diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-21 11:02:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-21 11:02:49 +0000 |
commit | 364b3b4370c99de6c93082d4ccc3be3b6ca3e514 (patch) | |
tree | a558ef245b5dceecc0a8752c6f7a1b7b8763a3e9 /perl-install/install_steps.pm | |
parent | cb20cc84be366a008e323bf1c8a3a190779e311a (diff) | |
download | drakx-backup-do-not-use-364b3b4370c99de6c93082d4ccc3be3b6ca3e514.tar drakx-backup-do-not-use-364b3b4370c99de6c93082d4ccc3be3b6ca3e514.tar.gz drakx-backup-do-not-use-364b3b4370c99de6c93082d4ccc3be3b6ca3e514.tar.bz2 drakx-backup-do-not-use-364b3b4370c99de6c93082d4ccc3be3b6ca3e514.tar.xz drakx-backup-do-not-use-364b3b4370c99de6c93082d4ccc3be3b6ca3e514.zip |
Ensure $o->{superuser}{name} is temporary
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 1f4cbf595..e5b4553ee 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -642,8 +642,9 @@ sub setRootPassword { my ($o) = @_; my $p = $o->{prefix}; my $u = $o->{superuser} ||= {}; - local $o->{superuser}{name} = 'root'; + $o->{superuser}{name} = 'root'; any::write_passwd_user($o->{prefix}, $o->{superuser}, $o->{authentication}{md5}); + delete $o->{superuser}{name}; } #------------------------------------------------------------------------------ |