diff options
Diffstat (limited to 'chapter05/pwdgroup.xml')
-rw-r--r-- | chapter05/pwdgroup.xml | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/chapter05/pwdgroup.xml b/chapter05/pwdgroup.xml index 279e73e18..28e17442b 100644 --- a/chapter05/pwdgroup.xml +++ b/chapter05/pwdgroup.xml @@ -21,32 +21,36 @@ Create a new file <filename>$LFS/etc/passwd</filename> by running the following command: </para> -<blockquote><literallayout> - <userinput>echo "root:x:0:0:root:/root:/bin/bash" > - $LFS/etc/passwd</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>echo "root:x:0:0:root:/root:/bin/bash" > $LFS/etc/passwd +</userinput> +</screen> +</para> <para> Create a new file <filename>$LFS/etc/group</filename> by running the following: </para> -<literallayout> +<para> +<screen> <userinput>cat > $LFS/etc/group << "EOF"</userinput> - root:x:0: - bin:x:1: - sys: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: +root:x:0: +bin:x:1: +sys: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: <userinput>EOF</userinput> -</literallayout> +</screen> +</para> </sect1> |