Files
lfs/chapter04/addinguser.xml
Manuel Canales Esparcia bce08efc71 Uniffied the titles with the ones used in testing.
Added chapter07/udev.xml.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4598 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2005-01-30 11:27:57 +00:00

24 lines
752 B
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
<sect1 id="ch-tools-addinguser">
<title>Adding the LFS User</title>
<?dbhtml filename="addinguser.html"?>
<para>Issue the following commands to add the new user:</para>
<screen><userinput>groupadd lfs
useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen>
<screen><userinput>passwd lfs</userinput></screen>
<screen><userinput>chown lfs $LFS/tools</userinput></screen>
<screen><userinput>chown lfs $LFS/sources</userinput></screen>
<screen><userinput>su - lfs</userinput></screen>
</sect1>