addinguser.xml 752 B

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