From 727ba89565bc09b2467b000fce2a9052d5b7dd9f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 15 Oct 2003 13:17:58 +0000 Subject: to be able to adduser, one need to have /etc/passwd and /etc/group writable --- move/move.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'move') 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); -- cgit v1.2.1