Changeset 37e35d2 for chapter04/addinguser.xml
- Timestamp:
- 06/29/2020 07:55:01 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- c4804e8
- Parents:
- d4fdde6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter04/addinguser.xml
rd4fdde6 r37e35d2 12 12 13 13 <para>When logged in as user <systemitem class="username">root</systemitem>, 14 making a single mistake can damage or destroy a system. Therefore, we15 recommend building the packages in the next chapteras an unprivileged user.14 making a single mistake can damage or destroy a system. Therefore, 15 the packages in the next two chapters are built as an unprivileged user. 16 16 You could use your own user name, but to make it easier to set up a clean 17 17 working environment, create a new user called <systemitem … … 63 63 <term><parameter>lfs</parameter></term> 64 64 <listitem> 65 <para>This is the actual name for the created group anduser.</para>65 <para>This is the actual name for the created user.</para> 66 66 </listitem> 67 67 </varlistentry> … … 78 78 79 79 <para>Grant <systemitem class="username">lfs</systemitem> full access to 80 <filename class="directory">$LFS/tools</filename> by making80 all directories under <filename class="directory">$LFS</filename> by making 81 81 <systemitem class="username">lfs</systemitem> the directory owner:</para> 82 82 83 <screen><userinput>chown -v lfs $LFS/tools</userinput></screen> 83 <screen><userinput>chown -v lfs $LFS/{usr,lib,var,etc,bin,sbin,tools} 84 case $(uname -m) in 85 x86_64) chown -v lfs $LFS/lib64 ;; 86 esac</userinput></screen> 87 <screen arch="ml_32" ><userinput>chown -v lfs $LFS&lib-m32;</userinput></screen> 88 <screen arch="ml_x32" ><userinput>chown -v lfs $LFS&lib-mx32;</userinput></screen> 89 <screen arch="ml_all" ><userinput>chown -v lfs $LFS/{lib32,libx32}</userinput></screen> 84 90 85 91 <para>If a separate working directory was created as suggested, give … … 96 102 <para>Next, login as user <systemitem class="username">lfs</systemitem>. 97 103 This can be done via a virtual console, through a display manager, or with 98 the following substitute user command:</para>104 the following substitute/switch user command:</para> 99 105 100 106 <screen role="nodump"><userinput>su - lfs</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.