#!/bin/bash
-# Reading system configuration informations, functions and package versions.
-source ../sysinfos
-source ../functions
-source ../packages-list
+source ../functions/main
# 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.
+#
+# Group 'mail' is used by MTAs (Mail Transport Agents)
cat > ${LFS}/etc/group << "EOF"
root:x:0:
bin:x:1:
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
+disk:x:7:
+lp:x:8:
+dialout:x:9:
+audio:x:10:
+video:x:11:
+utmp:x:12:
+usb:x:13:
+cdrom:x:14:
+mail:x:15:mail
+shutdown:x:17:
+plugdev:x:98:
+nogroup:x:99:
users:x:1000:
EOF