diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-14 15:39:13 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-11-14 15:39:13 +0000 |
commit | f383158b26368bc0b3d9f2fa59d8066b9d1e2278 (patch) | |
tree | 19326ae57648b45bab466927b342efd27ef8d6ac /move | |
parent | 1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462 (diff) | |
download | drakx-f383158b26368bc0b3d9f2fa59d8066b9d1e2278.tar drakx-f383158b26368bc0b3d9f2fa59d8066b9d1e2278.tar.gz drakx-f383158b26368bc0b3d9f2fa59d8066b9d1e2278.tar.bz2 drakx-f383158b26368bc0b3d9f2fa59d8066b9d1e2278.tar.xz drakx-f383158b26368bc0b3d9f2fa59d8066b9d1e2278.zip |
fix shadow password
Diffstat (limited to 'move')
-rw-r--r-- | move/data/etcfiles | 1 | ||||
-rw-r--r-- | move/move.pm | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/move/data/etcfiles b/move/data/etcfiles index bb1223b4b..693d13a2d 100644 --- a/move/data/etcfiles +++ b/move/data/etcfiles @@ -14,6 +14,7 @@ # OVERWRITE files that will be overwritten /etc/modules +/etc/.pwd.lock # DIR mandatory directories because files will be written in /etc/profile.d diff --git a/move/move.pm b/move/move.pm index 4cad87821..2dc8779d6 100644 --- a/move/move.pm +++ b/move/move.pm @@ -53,7 +53,7 @@ sub init { symlinkf "/proc/mounts", "/etc/mtab"; #- these files need be writable but we need a sensible first contents - system("cp /image/etc/$_ /etc") foreach qw(passwd group sudoers fstab); + system("cp /image/etc/$_ /etc") foreach qw(passwd passwd- group sudoers fstab); #- these files are typically opened in read-write mode, we need them copied mkdir_p("/etc/$_"), system("cp -R /image/etc/$_/* /etc/$_") @@ -67,7 +67,7 @@ sub init { #- ro things symlinkf_short("/image/etc/$_", "/etc/$_") - foreach qw(alternatives shadow man.config services shells pam.d security inputrc ld.so.conf + foreach qw(alternatives man.config services shells pam.d security inputrc ld.so.conf DIR_COLORS bashrc profile rc.d init.d devfsd.conf gtk-2.0 pango fonts modules.devfs dynamic hotplug gnome-vfs-2.0 gnome-vfs-mime-magic gtk gconf menu menu-methods nsswitch.conf default login.defs skel ld.so.cache openoffice xinetd.d xinetd.conf syslog.conf sysctl.conf sysconfig/networking/ifcfg-lo |