From d697394ad2a1091f499c0410584778e52e8e1ee9 Mon Sep 17 00:00:00 2001 From: Jim Gifford Date: Sun, 13 Mar 2005 05:00:01 +0000 Subject: passwd and group changes git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4738 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/pwdgroup.xml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'chapter06') diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml index 990fe976e..a6aa0d938 100644 --- a/chapter06/pwdgroup.xml +++ b/chapter06/pwdgroup.xml @@ -23,7 +23,8 @@ be relevant entries in the /etc/passwd and command: cat > /etc/passwd << "EOF" -root:x:0:0:root:/root:/bin/bash +root:x:0:0:root:/root:/bin/bash +nobody:x:65534:65534:Nobody:/:/sbin/nologin EOF The actual password for root (the x @@ -34,20 +35,12 @@ command: cat > /etc/group << "EOF" root:x:0: -bin:x:1: -sys:x:2: +console:x:1: +tty:x:2: 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: +disk:x:4: +utmp:x:5: +nogroup:x:65534: EOF The created groups are not part of any standard—they are some -- cgit v1.2.3-54-g00ecf