Ignore:
Timestamp:
03/25/2020 03:07:11 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
986f53b9
Parents:
fa3edfef
Message:

Format postlfs config

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22886 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/users.xml

    rfa3edfef r81a73ed8  
    2828  </indexterm>
    2929
    30   <para>Throughout BLFS, many packages install programs that
    31   run as daemons or in some way should have a user or group name
    32   assigned.  Generally these names are used to map a user ID (uid) or group
    33   ID (gid) for system use.  Generally the specific uid or gid numbers used
    34   by these applications are not significant.  The exception of course, is
    35   that <systemitem class='username'>root</systemitem> has a uid and gid of 0
    36   (zero) that is indeed special.  The uid values are stored in
    37   <filename>/etc/passwd</filename> and the gid values
    38   are found in <filename>/etc/group</filename>.</para>
     30  <para>
     31    Throughout BLFS, many packages install programs that run as daemons or in
     32    some way should have a user or group name assigned.  Generally these
     33    names are used to map a user ID (uid) or group ID (gid) for system use.
     34    Generally the specific uid or gid numbers used by these applications are
     35    not significant.  The exception of course, is that <systemitem
     36    class='username'>root</systemitem> has a uid and gid of 0 (zero) that
     37    is indeed special.  The uid values are stored in
     38    <filename>/etc/passwd</filename> and the gid values are found in
     39    <filename>/etc/group</filename>.
     40  </para>
    3941
    40   <para>Customarily, Unix systems classify users and groups into two
    41   categories: system users and regular users.  The system users and groups are
    42   given low numbers and regular users and groups have numeric values greater
    43   than all the system values.  The cutoff for these numbers is found in two
    44   parameters in the <filename>/etc/login.defs</filename> configuration file.
    45   The default UID_MIN value is 1000 and the default GID_MIN value is 1000.  If a
    46   specific uid or gid value is not specified when creating a user with
    47   <command>useradd</command> or a group with <command>groupadd</command> the values
    48   assigned will always be above these cutoff values.</para>
     42  <para>
     43    Customarily, Unix systems classify users and groups into two categories:
     44    system users and regular users.  The system users and groups are given
     45    low numbers and regular users and groups have numeric values greater
     46    than all the system values.  The cutoff for these numbers is found in
     47    two parameters in the <filename>/etc/login.defs</filename> configuration
     48    file.  The default UID_MIN value is 1000 and the default GID_MIN value
     49    is 1000.  If a specific uid or gid value is not specified when creating
     50    a user with <command>useradd</command> or a group with
     51    <command>groupadd</command> the values assigned will always be above
     52    these cutoff values.
     53  </para>
    4954
    50   <para>Additionally, the <ulink
    51   url='http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/usernames.html'>
    52   Linux Standard Base</ulink> recommends that system uid and gid values should be
    53   below 100.</para>
     55  <para>
     56    Additionally, the <ulink url=
     57      "http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/usernames.html">
     58    Linux Standard Base</ulink> recommends that system uid and gid values
     59    should be below 100.
     60  </para>
    5461
    55   <para>Below is a table of suggested uid/gid values used in BLFS beyond those
    56   defined in a base LFS installation.  These can be changed as desired, but
    57   provide a suggested set of consistent values.</para>
     62  <para>
     63    Below is a table of suggested uid/gid values used in BLFS beyond those
     64    defined in a base LFS installation.  These can be changed as desired, but
     65    provide a suggested set of consistent values.
     66  </para>
    5867
    5968  <table id="uidgid" class="uidvalues">
     
    143152  </table>
    144153
    145   <para>One value that is missing is 65534.  This value is customarily assigned
    146   to the user <systemitem class="username">nobody</systemitem> and group
    147   <systemitem class="groupname">nogroup</systemitem> and is unnecessary.
     154  <para>
     155    One value that is missing is 65534.  This value is customarily assigned
     156    to the user <systemitem class="username">nobody</systemitem> and group
     157    <systemitem class="groupname">nogroup</systemitem> and is unnecessary.
    148158  </para>
    149159
Note: See TracChangeset for help on using the changeset viewer.