summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-01 22:19:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-01 22:19:44 +0000
commit58ef253941a439f8c880bc9bffd83790e6eccd21 (patch)
tree9f2efadd02b7dea07d5c7f9a07f0bc48319d3bf2 /perl-install/install_steps.pm
parenta6f8275a74dd684e2b35010b0ba28a1d3b9cca23 (diff)
downloaddrakx-58ef253941a439f8c880bc9bffd83790e6eccd21.tar
drakx-58ef253941a439f8c880bc9bffd83790e6eccd21.tar.gz
drakx-58ef253941a439f8c880bc9bffd83790e6eccd21.tar.bz2
drakx-58ef253941a439f8c880bc9bffd83790e6eccd21.tar.xz
drakx-58ef253941a439f8c880bc9bffd83790e6eccd21.zip
- 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
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 1 insertions, 2 deletions
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 == ();
}