mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 14:24:48 +00:00
Grammatic changes to Add User and Set Environment sections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2293 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
7359e67371
commit
f47f9cdaf3
@ -75,10 +75,11 @@ compiling on non-x86 architectures.</para></listitem>
|
|||||||
variable to define -fPIC so the dynamic library gets compiled properly at
|
variable to define -fPIC so the dynamic library gets compiled properly at
|
||||||
all times.</para></listitem>
|
all times.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>January 5th, 2003 [timothy]: Chapter 05 - Applied Alex's
|
<listitem><para>January 5th, 2003 [timothy]: Chapter 05 - Applied a revised
|
||||||
patch to split the <emphasis>Install all software as an unprivileged
|
version of Alex's patch to split the <emphasis>Install all software as an
|
||||||
user</emphasis> page into two pages: <emphasis>Adding the user lfs</emphasis>
|
unprivileged user</emphasis> page into two pages: <emphasis>Adding the user
|
||||||
and <emphasis>Setting up the environment</emphasis>.</para></listitem>
|
lfs</emphasis> and <emphasis>Setting up the
|
||||||
|
environment</emphasis>.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>January 2nd, 2003 [gerard]: Chapter 05 - All packages whose
|
<listitem><para>January 2nd, 2003 [gerard]: Chapter 05 - All packages whose
|
||||||
configure script supports the LDFLAGS environment variable now use it
|
configure script supports the LDFLAGS environment variable now use it
|
||||||
|
@ -12,9 +12,8 @@ the following commands to add the new user:</para>
|
|||||||
<para><screen><userinput>useradd -s /bin/bash -m lfs
|
<para><screen><userinput>useradd -s /bin/bash -m lfs
|
||||||
passwd lfs</userinput></screen></para>
|
passwd lfs</userinput></screen></para>
|
||||||
|
|
||||||
<para>In order to grant the user <emphasis>lfs</emphasis> the proper permissions
|
<para>In order to grant ownership of the <filename>$LFS/static</filename>
|
||||||
to the <filename>$LFS/static</filename> directory, issue the following
|
directory to the user <emphasis>lfs</emphasis>, issue the command:</para>
|
||||||
command:</para>
|
|
||||||
|
|
||||||
<para><screen><userinput>chown -R lfs $LFS/static</userinput></screen></para>
|
<para><screen><userinput>chown -R lfs $LFS/static</userinput></screen></para>
|
||||||
|
|
||||||
|
@ -21,14 +21,13 @@ Other users of the system will be have read permission, and executable
|
|||||||
permission to directories. It is advisable to keep this setting throughout
|
permission to directories. It is advisable to keep this setting throughout
|
||||||
your LFS installation.</para>
|
your LFS installation.</para>
|
||||||
|
|
||||||
<para>The LFS, LC_ALL, and CC environment variables are also set. The LFS
|
<para>The LFS variable has been explained in previous chapters. LC_ALL is
|
||||||
variable has been explained in previous chapters. LC_ALL is a variable used
|
a variable used for internationalization.</para>
|
||||||
for internationalization.</para>
|
|
||||||
|
|
||||||
<para>The LC_ALL variable controls the localization of certain programs,
|
<para>The LC_ALL variable controls the localization of certain programs,
|
||||||
making their messages follow the conventions of a specified country. If your
|
making their messages follow the conventions of a specified country. If your
|
||||||
host system uses a version of <emphasis>glibc</emphasis> older than 2.2.4,
|
host system uses a version of <emphasis>glibc</emphasis> older than 2.2.4,
|
||||||
having LC_ALL set to something other than "C" or "POSIX" during Chapter 5
|
having LC_ALL set to something other than "C" or "POSIX" during this chapter
|
||||||
may cause trouble if you exit the chroot environment and wish to return later.
|
may cause trouble if you exit the chroot environment and wish to return later.
|
||||||
By setting LC_ALL to "POSIX" ("C" is an alias for "POSIX") we ensure that
|
By setting LC_ALL to "POSIX" ("C" is an alias for "POSIX") we ensure that
|
||||||
everything will work as expected in the chroot environment.</para>
|
everything will work as expected in the chroot environment.</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user