From 95887b5a65aa7ebaf62b7ab663e085be0f154f39 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 13 Aug 2007 20:14:13 +0000 Subject: - adduserdrake, finish-install: o create only one user o fix checking user info (#32517) - install: o merge root password step and create user step (new setRootPassword_addUser step name, but still handle addUser setRootPassword in interactiveSteps for auto_installs) o fix checking user creation info (#32517) o allow to create only one user per default, but add an entry in summary to create more users o authentication method is not configurable anymore for now. should we add it to summary? --- perl-install/standalone/adduserdrake | 2 +- perl-install/standalone/finish-install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/adduserdrake b/perl-install/standalone/adduserdrake index a2d380766..b449ef52b 100755 --- a/perl-install/standalone/adduserdrake +++ b/perl-install/standalone/adduserdrake @@ -17,7 +17,7 @@ if (my @l = grep { ! /^-/ } @ARGV) { $users = [ map { { name => $_, realname => $_ } } @l ]; } else { $in = 'interactive'->vnew('su'); - any::ask_users($in, $users, security::level::get(), []); + any::ask_user($in, $users, security::level::get(), needauser => 1); } any::add_users($users, authentication::get()); diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index 97ceb1fab..967bdacf6 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -86,7 +86,7 @@ sub ask_authentication() { sub ask_users() { my $users = []; - any::ask_users($in, $users, $security, []); + any::ask_user($in, $users, $security); my $old_user = $conf{USER_RENAME_FROM}; if (@$users && $old_user) { $users->[0]{rename_from} = $old_user; -- cgit v1.2.1