From 58ef253941a439f8c880bc9bffd83790e6eccd21 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 1 Aug 2003 22:19:44 +0000 Subject: - move write_smb_conf() from install_any to network::smb - rename setAuthentication() to set_authentication() - move the work of set_authentication() from install_any to any - move the per-authentification kind questions from install_steps_interactive::setRootPassword() to any::ask_authentification_parameters() - various cleanup in code prompting authentification questions - call install_any::set_authentication() in install_steps::setRootPassword() instead of waiting for the installPackages step to be done (since setRootPassword occurs *after* packages installation) - don't call set_authentification() in install_steps::addUser() (why was this done there??) => these changes will allow drakauth --- perl-install/install_steps.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index b99830492..ec8098971 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -784,6 +784,7 @@ sub setRootPassword { $o->{superuser}{name} = 'root'; any::write_passwd_user($o->{prefix}, $o->{superuser}, $o->{authentication}{md5}); delete $o->{superuser}{name}; + install_any::set_authentication($o); } #------------------------------------------------------------------------------ @@ -833,8 +834,6 @@ sub addUser { $o->pkg_install("autologin") if $o->{autologin}; any::set_autologin($o->{autologin}, $o->{desktop}); - install_any::setAuthentication($o); - install_any::disable_user_view($p) if @$users == (); } -- cgit v1.2.1