etc of the host changes while working in chroot env
hi i m working on the sixth chapter of lfs 6.0 but as soon as i run the commands
cat > /etc/passwd << "EOF"
cat > /etc/group << "EOF"
the changes are reflected in the etc file of the host system as well
which at later stage leads to crashing of my system
while entering the chroot env i do
which gets the root:/$
then cd /mnt/lfs which gets root:/mnt/lfs:$
and we are running all the command of chapter 6 at this prompt only
is this the reason for such a problem?
looking forward to a quick reply!
please help as i have to finish the project within june