summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-13 20:14:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-13 20:14:13 +0000
commit95887b5a65aa7ebaf62b7ab663e085be0f154f39 (patch)
tree7b7aeb8f2618eb2c59e35c4ea0e27a4fab4303c1 /perl-install/standalone
parentb3dda2f9b09dc79f1dc25e4e74d5997e8a3af76b (diff)
downloaddrakx-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/standalone')
-rwxr-xr-xperl-install/standalone/adduserdrake2
-rwxr-xr-xperl-install/standalone/finish-install2
2 files changed, 2 insertions, 2 deletions
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;