update etc for passwd & group
This commit is contained in:
parent
830cbb4173
commit
889c84819c
@ -22,6 +22,7 @@ for cmd in "${CMDS[@]}"; do
|
||||
done
|
||||
|
||||
# cp user and group into chroot
|
||||
mkdir $CHROOT/etc
|
||||
cat /etc/passwd | grep $USER > $CHROOT/etc/passwd
|
||||
cat /etc/group | grep $USER > $CHROOT/etc/group
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user