projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to desktop-file-utils-0.22
[hvlinux.git]
/
stage1
/
create-groups
diff --git
a/stage1/create-groups
b/stage1/create-groups
index
d2b8a8e
..
6db93f4
100755
(executable)
--- a/
stage1/create-groups
+++ b/
stage1/create-groups
@@
-1,12
+1,11
@@
#!/bin/bash
#!/bin/bash
-# Reading system configuration informations, functions and package versions.
-source ../config/sysinfos
-source ../functions
-source ../config/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.
# 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:
cat > ${LFS}/etc/group << "EOF"
root:x:0:
bin:x:1:
@@
-15,20
+14,18
@@
kmem:x:3:
tty:x:4:
tape:x:5:
daemon:x:6:
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
users:x:1000:
EOF