summaryrefslogtreecommitdiffstats
path: root/move/make_live
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/make_live
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/make_live')
-rwxr-xr-xmove/make_live5
1 files changed, 5 insertions, 0 deletions
diff --git a/move/make_live b/move/make_live
index 734155ce4..4cb5a729c 100755
--- a/move/make_live
+++ b/move/make_live
@@ -80,3 +80,8 @@ substInFile {
#- /lib is ro, for the moment we don't save, we'll see later if we may want to save (using /var/dev-state for example)
s|.*lib/dev-state.*||;
} "$::prefix/etc/devfsd.conf";
+
+substInFile {
+ #- don't use shadow passwords since pwconv overwrites /etc/shadow hence contents will be lost for usb key
+ s|\s*shadow||;
+} "$::prefix/etc/pam.d/system-auth";