Changeset 1fd5d19
- Timestamp:
- 06/19/2004 08:48:04 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- d8277ea
- Parents:
- 0c012ac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r0c012ac r1fd5d19 77 77 </listitem> 78 78 79 <listitem><para>June 19, 2004 [matt]: chapter04 - addinguser. Make the lfs user 80 a member of the lfs group, in case hosts add a new user to a non-existent gid by 81 default (which causes the glibc testsuite to fail). Fixes bug #856.</para> 82 </listitem> 83 79 84 <listitem><para>June 19, 2004 [matt]: chapter07 - console & chapter 08 - 80 85 kernel. Improved wording and re-introduced the option for compiling the keymap -
chapter04/addinguser.xml
r0c012ac r1fd5d19 12 12 build the packages in this chapter as an unprivileged user. You could 13 13 of course use your own user name, but to make it easier to set up a clean 14 work environment we'll create a new user <emphasis>lfs</emphasis> and 14 work environment we'll create a new user <emphasis>lfs</emphasis> as a 15 member of a new group (also named <emphasis>lfs</emphasis>) and 15 16 use this one during the installation process. As <emphasis>root</emphasis>, 16 issue the following command to add the new user:</para>17 issue the following commands to add the new user:</para> 17 18 18 <screen><userinput>useradd -s /bin/bash -m -k /dev/null lfs</userinput></screen> 19 <screen><userinput>groupadd lfs 20 useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen> 19 21 20 22 <para>The meaning of the switches:</para> … … 26 28 <command>bash</command> the default shell for user 27 29 <emphasis>lfs</emphasis>.</para></listitem> 30 </varlistentry> 31 32 <varlistentry> 33 <term><parameter>-g lfs</parameter></term> 34 <listitem><para>This adds user <emphasis>lfs</emphasis> to group 35 <emphasis>lfs</emphasis></para></listitem> 28 36 </varlistentry> 29 37
Note:
See TracChangeset
for help on using the changeset viewer.