summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-11 20:12:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-11 20:12:26 +0000
commitba6d21ec7907422b74929ffaaaa6ca8b7ad7e434 (patch)
tree58108a636aca28d540de6417a78a616162231794
parentab64866be4d3b06483f0987592b4acb43ccc127a (diff)
downloaddrakx-backup-do-not-use-ba6d21ec7907422b74929ffaaaa6ca8b7ad7e434.tar
drakx-backup-do-not-use-ba6d21ec7907422b74929ffaaaa6ca8b7ad7e434.tar.gz
drakx-backup-do-not-use-ba6d21ec7907422b74929ffaaaa6ca8b7ad7e434.tar.bz2
drakx-backup-do-not-use-ba6d21ec7907422b74929ffaaaa6ca8b7ad7e434.tar.xz
drakx-backup-do-not-use-ba6d21ec7907422b74929ffaaaa6ca8b7ad7e434.zip
(addUser): set autologin
-rw-r--r--perl-install/install_steps.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 32a0ec569..727c8f8c4 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -601,7 +601,12 @@ sub addUser {
eval { commands::chown_("-r", "$u->{uid}.$u->{gid}", "$p$u->{home}") }
if $u->{uid} != $u->{oldu} || $u->{gid} != $u->{oldg};
}
- any::addUsers($o->{prefix}, $users);
+ any::addUsers($p, $users);
+
+ $o->pkg_install("autologin") if $o->{autologin};
+ any::set_autologin($p, $o->{autologin}, $o->{desktop});
+
+ install_any::setAuthentication($o);
}
#------------------------------------------------------------------------------