diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-30 10:52:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-30 10:52:06 +0000 |
commit | b6d2621f3a4a327d23d5a16247df839fca62dfec (patch) | |
tree | 6835062ef13225ed26746272eb185c5d908df920 /perl-install/install_steps.pm | |
parent | 601870c80fa2c1ab2ccfdd5ae9e456b64df8fb6b (diff) | |
download | drakx-b6d2621f3a4a327d23d5a16247df839fca62dfec.tar drakx-b6d2621f3a4a327d23d5a16247df839fca62dfec.tar.gz drakx-b6d2621f3a4a327d23d5a16247df839fca62dfec.tar.bz2 drakx-b6d2621f3a4a327d23d5a16247df839fca62dfec.tar.xz drakx-b6d2621f3a4a327d23d5a16247df839fca62dfec.zip |
create any::set_root_passwd() and use it
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index b91ac2eed..f7c911d1f 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -759,9 +759,7 @@ sub configurePrinter { sub setRootPassword { my ($o) = @_; $o->{superuser} ||= {}; - $o->{superuser}{name} = 'root'; - any::write_passwd_user($o->{superuser}, $o->{authentication}{md5}); - delete $o->{superuser}{name}; + any::set_root_passwd($o->{superuser}, $o->{authentication}); install_any::set_authentication($o); } |