summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index ec8098971..488fd89df 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -829,6 +829,9 @@ sub addUser {
eval { commands::chown_("-r", "$u->{uid}.$u->{gid}", "$p$u->{home}") }
if $u->{uid} != $u->{oldu} || $u->{gid} != $u->{oldg};
}
+ #- since we wrote the password in /etc/passwd, we must convert to shadow
+ run_program::rooted($::prefix, 'pwconv') if $o->{authentication}{shadow};
+
any::addUsers($p, $users);
$o->pkg_install("autologin") if $o->{autologin};