summaryrefslogtreecommitdiffstats
path: root/move/move.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-17 17:36:11 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-17 17:36:11 +0000
commitc19c88c2f89f2d26cc2809eaee366acf80adf535 (patch)
treed41dc288cc3f77d9c18ffe54da05da44b3a1cd0b /move/move.pm
parent52e9d06748b40b61c2dfe3535b38c9050fa00aa4 (diff)
downloaddrakx-backup-do-not-use-c19c88c2f89f2d26cc2809eaee366acf80adf535.tar
drakx-backup-do-not-use-c19c88c2f89f2d26cc2809eaee366acf80adf535.tar.gz
drakx-backup-do-not-use-c19c88c2f89f2d26cc2809eaee366acf80adf535.tar.bz2
drakx-backup-do-not-use-c19c88c2f89f2d26cc2809eaee366acf80adf535.tar.xz
drakx-backup-do-not-use-c19c88c2f89f2d26cc2809eaee366acf80adf535.zip
don't use shadow passwords since pwconv overwrites /etc/shadow hence contents will be lost for usb key
Diffstat (limited to 'move/move.pm')
-rw-r--r--move/move.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/move/move.pm b/move/move.pm
index 597dbabcb..589bf996f 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -116,6 +116,9 @@ drakx_stuff:
$o->{orderedSteps} = [ qw(selectLanguage handleI18NClp acceptLicense verifyKey selectMouse selectKeyboard startMove) ];
$o->{steps}{first} = $o->{orderedSteps}[0];
+ #- don't use shadow passwords since pwconv overwrites /etc/shadow hence contents will be lost for usb key
+ delete $o->{authentication}{shadow};
+
member($_, @ALLOWED_LANGS) or delete $lang::langs{$_} foreach keys %lang::langs;
}