From 5f78b9376156a4c9d9cec4e8c630a632c4402fea Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 10 Aug 2003 21:37:04 +0000 Subject: since we wrote the password in /etc/passwd, we must convert to shadow --- perl-install/install_steps.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/install_steps.pm') 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}; -- cgit v1.2.1