summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-10-15 13:17:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-10-15 13:17:58 +0000
commit727ba89565bc09b2467b000fce2a9052d5b7dd9f (patch)
tree8e1a6ba2281e610b84320ceed6543ac524612688 /move
parent814fa42e772f79fb697fc2647ca9a312d41cb220 (diff)
downloaddrakx-727ba89565bc09b2467b000fce2a9052d5b7dd9f.tar
drakx-727ba89565bc09b2467b000fce2a9052d5b7dd9f.tar.gz
drakx-727ba89565bc09b2467b000fce2a9052d5b7dd9f.tar.bz2
drakx-727ba89565bc09b2467b000fce2a9052d5b7dd9f.tar.xz
drakx-727ba89565bc09b2467b000fce2a9052d5b7dd9f.zip
to be able to adduser, one need to have /etc/passwd and /etc/group writable
Diffstat (limited to 'move')
-rw-r--r--move/move.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm
index ad9acdd45..598509d66 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -22,13 +22,16 @@ sub init {
#- ro things
symlinkf "/image/etc/$_", "/etc/$_"
- foreach qw(alternatives passwd group shadow man.config services shells pam.d security inputrc ld.so.conf
+ foreach qw(alternatives shadow man.config services shells pam.d security inputrc ld.so.conf
DIR_COLORS bashrc profile profile.d rc.d init.d devfsd.conf devfs gtk-2.0 pango fonts modules.devfs
dynamic gnome-vfs-2.0 gnome-vfs-mime-magic gtk gconf menu menu-methods nsswitch.conf default login.defs
skel ld.so.cache);
symlinkf "/image/etc/X11/$_", "/etc/X11/$_"
foreach qw(encodings.dir app-defaults applnk fs lbxproxy proxymngr rstart wmsession.d xinit.d xinit xkb xserver xsm);
+ #- to be able to adduser, one need to have /etc/passwd and /etc/group writable
+ cp_af("/image/etc/$_", "/etc") foreach qw(passwd group);
+
#- free up stage1 memory
fs::umount($_) foreach qw(/stage1/proc /stage1);