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/install/steps.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'perl-install/install/steps.pm') diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm index e10c010ea..05dd04758 100644 --- a/perl-install/install/steps.pm +++ b/perl-install/install/steps.pm @@ -728,6 +728,13 @@ sub configureServices { } #------------------------------------------------------------------------------ +sub setRootPassword_addUser { + my ($o) = @_; + + setRootPassword($o); + addUser($o); +} + sub setRootPassword { my ($o) = @_; $o->{superuser} ||= {}; @@ -736,8 +743,6 @@ sub setRootPassword { install::any::set_authentication($o); } -#------------------------------------------------------------------------------ - sub addUser { my ($o) = @_; my $users = $o->{users} ||= []; -- cgit v1.2.1