Created
October 5, 2013 12:39
-
-
Save vinipsmaker/6840464 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# você também pode usar o comando "ln -f" no lugar de cp | |
cp /etc/passwd* /srv/chroot/lucid/etc | |
cp /etc/group* /srv/chroot/lucid/etc | |
# se você também usa sudo no seu Archlinux | |
# vai lhe poupar o trabalho de configurar o sudo do ambiente chroot | |
cp /etc/sudoers /srv/chroot/lucid/etc | |
# se você quiser o mesmo conjunto de senhas | |
cp /etc/shadow* /srv/chroot/lucid/etc | |
# opcional, somente para resolução de DNS | |
cp /etc/resolv.conf /srv/chroot/lucid/etc | |
cp /etc/localtime /srv/chroot/lucid/etc | |
cp /etc/mtab /srv/chroot/lucid/etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment