blob: 838fc8b4fac2f39f7cd734ccb6c9dfd12e737ed1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?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 user lfs</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>
|