diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-13 20:14:13 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-13 20:14:13 +0000 |
commit | 95887b5a65aa7ebaf62b7ab663e085be0f154f39 (patch) | |
tree | 7b7aeb8f2618eb2c59e35c4ea0e27a4fab4303c1 /perl-install/install/steps.pm | |
parent | b3dda2f9b09dc79f1dc25e4e74d5997e8a3af76b (diff) | |
download | drakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.tar drakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.tar.gz drakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.tar.bz2 drakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.tar.xz drakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.zip |
- 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?
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r-- | perl-install/install/steps.pm | 9 |
1 files changed, 7 insertions, 2 deletions
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} ||= []; |