X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fcreate-groups;h=6db93f4a34f6f2b6259a4a00a518ae8619ddcd07;hb=cf3d9a3b194a6578c881cdd4eb528398d4de2741;hp=88d30158b63780d1a5bc1fbcb2da3931d77371dd;hpb=3a7685561df0a4d80e727e5b26fbf413ad0586f2;p=hvlinux.git diff --git a/stage1/create-groups b/stage1/create-groups index 88d3015..6db93f4 100755 --- a/stage1/create-groups +++ b/stage1/create-groups @@ -4,6 +4,8 @@ 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: @@ -12,22 +14,19 @@ 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 -shutdown:x:999: -# 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: -# Default group used by some programs that do not require a group. -nogroup:x:65533: EOF exit $?