diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-08-10 21:37:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-08-10 21:37:04 +0000 |
commit | 5f78b9376156a4c9d9cec4e8c630a632c4402fea (patch) | |
tree | 7986fc7f00930049fe0322c18f194532cb8fd497 /perl-install/install_steps.pm | |
parent | 771861e22516a38b7e3ac15bc63ec2fba3a4c4ac (diff) | |
download | drakx-5f78b9376156a4c9d9cec4e8c630a632c4402fea.tar drakx-5f78b9376156a4c9d9cec4e8c630a632c4402fea.tar.gz drakx-5f78b9376156a4c9d9cec4e8c630a632c4402fea.tar.bz2 drakx-5f78b9376156a4c9d9cec4e8c630a632c4402fea.tar.xz drakx-5f78b9376156a4c9d9cec4e8c630a632c4402fea.zip |
since we wrote the password in /etc/passwd, we must convert to shadow
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 3 |
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}; |