X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fcreate-groups;h=6db93f4a34f6f2b6259a4a00a518ae8619ddcd07;hb=b6f8c455b6b970c08eab79303c95acbc1506f61d;hp=3b57abc0187e0d29fdffac73450d85377f635e62;hpb=f3c8db3027d5dc530e1f30c88e0235975211582e;p=hvlinux.git diff --git a/stage1/create-groups b/stage1/create-groups index 3b57abc..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,20 +14,18 @@ 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 +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