#!/bin/bash # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list # In order for root to be able to login and for the name "root" to be # recognized, there need to be relevant entries in the /etc/group file. cat > ${LFS}/etc/group << "EOF" root:x:0: bin:x:1: sys:x:2: kmem:x:3: tty:x:4: tape:x:5: daemon:x:6: floppy:x:7: disk:x:8: lp:x:9: dialout:x:10: audio:x:11: video:x:12: utmp:x:13: usb:x:14: cdrom:x:15: # Used by MTAs (Mail Transport Agents) mail:x:30:mail # Default group used by some programs that do not require a group. nogroup:x:65533: # The default GID used by shadow for new users users:x:1000: EOF exit $?