From 44c2fd8fabfe36ee9f8464a04e4f2db42d956ab0 Mon Sep 17 00:00:00 2001 From: Timothy Bauscher Date: Sun, 8 Sep 2002 21:54:14 +0000 Subject: Applied Alex\'s grammar patch git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2082 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/pwdgroup.xml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'chapter06/pwdgroup.xml') diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml index bf2f0315d..f9c648b8c 100644 --- a/chapter06/pwdgroup.xml +++ b/chapter06/pwdgroup.xml @@ -1,25 +1,21 @@ -Creating passwd and group files +Creating the passwd and group files -In order for the user and the group "root" to be recognized and to be -able to login, there need to be entries in the /etc/passwd and /etc/group file. -Besides the group "root", a couple of other groups are recommended or needed -by some packages. The groups created below aren't part of any standard. -The LSB only recommends a group "bin" with GID 1 to be present besides -"root". Other group names and GIDs can be chosen by the user. -Well-written packages don't depend on GID numbers, but use the group's -name; so it doesn't matter which GID a group has. Since there -aren't any standards for groups, the groups created here are the groups the -MAKEDEV script (the script that creates the device files in the /dev -directory) mentions. - -Create a new file /etc/passwd by running the +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/passwd and +/etc/group files. + +Create the /etc/passwd file by running the following command: echo "root:x:0:0:root:/root:/bin/bash" > /etc/passwd -Create a new file /etc/group by running the +The actual password for root (the "x" here is just a placeholder) will +be set later. + +Create the /etc/group file by running the following command: cat > /etc/group << "EOF" @@ -37,5 +33,12 @@ dialout:x:10: audio:x:11: EOF +The created groups aren't part of any standard -- they are the groups +that the MAKEDEV script in the next section uses. +Besides the group "root", the LSB recommends only a group "bin" with a GID +of 1 to be present. All other group names and GIDs can be chosen freely by +the user, as well-written packages don't depend on GID numbers but use the +group's name. + -- cgit v1.2.3-54-g00ecf