From b6d2621f3a4a327d23d5a16247df839fca62dfec Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 30 Nov 2004 10:52:06 +0000 Subject: create any::set_root_passwd() and use it --- perl-install/install_steps.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'perl-install/install_steps.pm') 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); } -- cgit v1.2.1