Changeset 777f469


Ignore:
Timestamp:
11/21/2022 11:30:12 PM (17 months ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
9237700
Parents:
46405a5b (diff), 54948b7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

Location:
chapter08
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter08/acl.xml

    r46405a5b r777f469  
    2525
    2626    <para>The Acl package contains utilities to administer Access Control Lists,
    27     which are used to define more fine-grained discretionary access rights for
     27    which are used to define fine-grained discretionary access rights for
    2828    files and directories.</para>
    2929
     
    5353<screen><userinput remap="make">make</userinput></screen>
    5454
    55     <para>The Acl tests need to be run on a filesystem that supports access
    56     controls after <application>Coreutils</application> has been built with the
    57     Acl libraries.  If desired, return to this package and run <command>make
    58     check</command> after <application>Coreutils</application> has been built
    59     later in this chapter.</para>
     55    <para>The Acl tests must be run on a filesystem that supports access
     56    controls, but not until the <application>Coreutils</application> package has been built,
     57    using the <application>Acl</application> libraries.  If desired, return to this package
     58    and run <command>make check</command> after the <application>Coreutils</application>
     59    package has been built.</para>
    6060
    6161    <para>Install the package:</para>
  • chapter08/attr.xml

    r46405a5b r777f469  
    2424    <title/>
    2525
    26     <para>The attr package contains utilities to administer the extended
    27     attributes on filesystem objects.</para>
     26    <para>The Attr package contains utilities to administer the extended
     27    attributes of filesystem objects.</para>
    2828
    2929    <segmentedlist>
     
    5353<screen><userinput remap="make">make</userinput></screen>
    5454
    55     <para>The tests need to be run on a filesystem that supports extended
     55    <para>The tests must be run on a filesystem that supports extended
    5656    attributes such as the ext2, ext3, or ext4 filesystems.
    5757    To test the results, issue:</para>
  • chapter08/libcap.xml

    r46405a5b r777f469  
    2424    <title/>
    2525
    26     <para>The Libcap package implements the user-space interfaces to the POSIX
    27     1003.1e capabilities available in Linux kernels. These capabilities are a
    28     partitioning of the all powerful root privilege into a set of distinct
     26    <para>The Libcap package implements the user-space interface to the POSIX
     27    1003.1e capabilities available in Linux kernels. These capabilities
     28    partition the all-powerful root privilege into a set of distinct
    2929    privileges.</para>
    3030
     
    167167        <term><command>getpcaps</command></term>
    168168        <listitem>
    169           <para>Displays the capabilities on the queried process(es)</para>
     169          <para>Displays the capabilities of the queried process(es)</para>
    170170          <indexterm zone="ch-system-libcap getpcaps">
    171171            <primary sortas="b-getpcaps">getpcaps</primary>
  • chapter08/mpfr.xml

    r46405a5b r777f469  
    5959    </important>
    6060
    61     <para>Test the results and ensure that all tests passed:</para>
     61    <para>Test the results and ensure that all 183 tests passed:</para>
    6262
    6363<screen><userinput remap="test">make check</userinput></screen>
  • chapter08/shadow.xml

    r46405a5b r777f469  
    6767    for user mailboxes that Shadow uses by default to the <filename
    6868    class="directory">/var/mail</filename> location used currently. And,
    69     get rid of <filename class="directory">/bin</filename> and
    70     <filename class="directory">/sbin</filename> from <envar>PATH</envar>,
    71     since they are simply symlinks to their counterpart in
     69    remove <filename class="directory">/bin</filename> and
     70    <filename class="directory">/sbin</filename> from the <envar>PATH</envar>,
     71    since they are simply symlinks to their counterparts in
    7272    <filename class="directory">/usr</filename>.</para>
    7373
    7474    <note>
    75       <para>If <filename class="directory">/bin</filename> and/or
    76       <filename class="directory">/sbin</filename> are preferred to be
    77       left over in <envar>PATH</envar> for some reason, modify
    78       <envar>PATH</envar> in <filename>.bashrc</filename> after LFS is
     75      <para>If you wish to include <filename class="directory">/bin</filename>
     76      and/or <filename class="directory">/sbin</filename> in the <envar>PATH</envar>
     77      for some reason, modify the
     78      <envar>PATH</envar> in <filename>.bashrc</filename> after LFS has been
    7979      built.</para>
    8080    </note>
     
    8686
    8787    <note>
    88       <para>If you chose to build Shadow with Cracklib support, run the following:</para>
     88      <para>If you chose to build Shadow with Cracklib support, issue this command:</para>
    8989
    9090<screen role="nodump"><userinput>sed -i 's:DICTPATH.*:DICTPATH\t/lib/cracklib/pw_dict:' etc/login.defs</userinput></screen>
     
    109109
    110110    <variablelist>
    111       <title>The meaning of the configure option:</title>
     111      <title>The meaning of the new configuration options:</title>
    112112
    113113      <varlistentry>
     
    115115        <listitem>
    116116          <para>The file <filename>/usr/bin/passwd</filename> needs
    117           to exist because its location is hardcoded in some programs, and
    118           if it does not exist, the default location is not right.</para>
     117          to exist because its location is hardcoded in some programs;
     118          if it does not already exist, the installation script will
     119          create it in the wrong place.</para>
    119120        </listitem>
    120121      </varlistentry>
     
    122123        <term><parameter>--with-group-name-max-length=32</parameter></term>
    123124        <listitem>
    124           <para>The maximum user name is 32 characters.  Make the maximum
    125           group name the same.</para>
     125          <para>The longest permissible user name is 32 characters.  Make the maximum
     126          length of a group name the same.</para>
    126127        </listitem>
    127128      </varlistentry>
     
    154155    tasks. For a full explanation of what <emphasis>password shadowing</emphasis>
    155156    means, see the <filename>doc/HOWTO</filename> file within the unpacked
    156     source tree. If using Shadow support, keep in mind that programs which need
     157    source tree. If you use Shadow support, keep in mind that programs which need
    157158    to verify passwords (display managers, FTP programs, pop3 daemons, etc.)
    158     must be Shadow-compliant. That is, they need to be able to work with
     159    must be Shadow-compliant. That is, they must be able to work with
    159160    shadowed passwords.</para>
    160161
     
    168169
    169170    <para>Shadow's default configuration for the <command>useradd</command>
    170     utility has a few caveats that need some explanation. First, the default
     171    utility needs some explanation. First, the default
    171172    action for the <command>useradd</command> utility is to create the user and
    172     a group of the same name as the user. By default the user ID (UID) and
    173     group ID (GID) numbers will begin with 1000. This means if you don't pass
    174     parameters to <command>useradd</command>, each user will be a member of a
     173    a group with the same name as the user. By default the user ID (UID) and
     174    group ID (GID) numbers will begin at 1000. This means if you don't pass
     175    extra parameters to <command>useradd</command>, each user will be a member of a
    175176    unique group on the system. If this behavior is undesirable, you'll need
    176     to pass one of the <parameter>-g</parameter> or <parameter>-N</parameter>
    177     parameter to <command>useradd</command> or to change the setting of
     177    to pass either the <parameter>-g</parameter> or <parameter>-N</parameter>
     178    parameter to <command>useradd</command>, or else change the setting of
    178179    <parameter>USERGROUPS_ENAB</parameter> in
    179180    <filename>/etc/login.defs</filename>. See <filename>useradd(8)</filename>
     
    181182
    182183    <para>Second, to change the default parameters, the file
    183     <filename>/etc/default/useradd</filename> needs to be created and tailored
     184    <filename>/etc/default/useradd</filename> must be created and tailored
    184185    to suit your particular needs. Create it with:</para>
    185186
     
    188189
    189190    <variablelist>
    190       <title><filename>/etc/default/useradd</filename> Parameter Explanations</title>
     191      <title><filename>/etc/default/useradd</filename> parameter explanations</title>
    191192
    192193      <varlistentry>
     
    195196          <para>This parameter sets the beginning of the group numbers used in
    196197          the <filename>/etc/group</filename> file. The particular value 999
    197           comes from the <parameter>--gid</parameter> parameter above.  You can
    198           modify it to anything you desire.
     198          comes from the <parameter>--gid</parameter> parameter above.  You
     199          may set it to any desired value.
    199200
    200201          Note that <command>useradd</command> will never reuse a UID or GID.
    201202          If the number identified in this parameter is used, it will use the
    202203          next available number. Note also that if you don't have a group with
    203           an ID equal to this number on your system the first time you use
     204          an ID equal to this number on your system, then the first time you use
    204205          <command>useradd</command> without the <parameter>-g</parameter>
    205           parameter, you will get a message displayed on the terminal that
    206           says: <computeroutput>useradd: unknown GID 999</computeroutput>,
    207           although the account is correctly created. That is why we have
     206          parameter, an error message will be generated&mdash;<computeroutput>useradd:
     207          unknown GID 999</computeroutput>,
     208          even though the account has been created correctly. That is why we
    208209          created the group <systemitem class="groupname">users</systemitem>
    209210          with this group ID in <xref linkend='ch-tools-createfiles'/>.</para>
     
    215216        <listitem>
    216217          <para>This parameter causes <command>useradd</command> to create a
    217           mailbox file for the newly created user. <command>useradd</command>
    218           will make the group ownership of this file to the
     218          mailbox file for each new user. <command>useradd</command>
     219          will assign the group ownership of this file to the
    219220          <systemitem class="groupname">mail</systemitem> group with 0660
    220           permissions. If you would prefer that these mailbox files are not
    221           created by <command>useradd</command>, issue the following
    222           command:</para>
     221          permissions. If you would rather not create these files,
     222          issue the following command:</para>
    223223
    224224<screen><userinput>sed -i '/MAIL/s/yes/no/' /etc/default/useradd</userinput></screen>
     
    231231
    232232  <sect2 role="configuration">
    233     <title>Setting the root password</title>
     233    <title>Setting the Root Password</title>
    234234
    235235    <para>Choose a password for user <emphasis>root</emphasis> and set it
     
    330330        <listitem>
    331331          <para>Is used to examine the log of login failures, to set a maximum
    332           number of failures before an account is blocked, or to reset the
     332          number of failures before an account is blocked, and to reset the
    333333          failure count</para>
    334334          <indexterm zone="ch-system-shadow faillog">
     
    510510        <term><command>nologin</command></term>
    511511        <listitem>
    512           <para>Displays a message that an account is not available; it is designed
    513           to be used as the default shell for accounts that have been
    514           disabled</para>
     512          <para>Displays a message saying an account is not available; it is designed
     513          to be used as the default shell for disabled accounts</para>
    515514          <indexterm zone="ch-system-shadow nologin">
    516515            <primary sortas="b-nologin">nologin</primary>
     
    598597        <term><command>userdel</command></term>
    599598        <listitem>
    600           <para>Deletes the given user account</para>
     599          <para>Deletes the specified user account</para>
    601600          <indexterm zone="ch-system-shadow userdel">
    602601            <primary sortas="b-userdel">userdel</primary>
     
    608607        <term><command>usermod</command></term>
    609608        <listitem>
    610           <para>Is used to modify the given user's login name, User
    611           Identification (UID), shell, initial group, home directory, etc.</para>
     609          <para>Is used to modify the given user's login name, user
     610          identification (UID), shell, initial group, home directory, etc.</para>
    612611          <indexterm zone="ch-system-shadow usermod">
    613612            <primary sortas="b-usermod">usermod</primary>
     
    641640        <term><filename class='libraryfile'>libsubid</filename></term>
    642641        <listitem>
    643           <para>library for process subordinate id ranges for users</para>
     642          <para>library for processing subordinate id ranges for users</para>
    644643          <indexterm zone="ch-system-shadow libsubid">
    645644            <primary sortas="c-libsubid">libsubid</primary>
Note: See TracChangeset for help on using the changeset viewer.