Changeset 0dfb754


Ignore:
Timestamp:
06/04/2005 08:05:01 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
1881a5b
Parents:
9274bc5
Message:

Standardized the creation of the nobody user (without a valid login shell) in the Postfix and NFS Utilities instructions

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r9274bc5 r0dfb754  
    1 <!ENTITY day          "03">
     1<!ENTITY day          "04">
    22<!ENTITY month        "06">
    33<!ENTITY year         "2005">
    44<!ENTITY version      "svn-&year;&month;&day;">
    5 <!ENTITY releasedate  "June &day;rd, &year;">
     5<!ENTITY releasedate  "June &day;th, &year;">
    66<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    77<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    r9274bc5 r0dfb754  
    2424
    2525  <itemizedlist>
     26
     27    <listitem>
     28      <para>June 4th, 2005 [randy]: Standardized the creation of the nobody
     29      user (without a valid login shell) in the NFS Utilities and Postfix
     30      instructions.</para>
     31    </listitem>
    2632
    2733    <listitem>
  • server/mail/postfix.xml

    r9274bc5 r0dfb754  
    171171
    172172      <para>Before you compile the program, you need to create users and groups
    173       that will be expected to be in place when the install script executes.
    174       Add the users and groups with the following commands:</para>
    175 
    176 <screen role="root"><userinput>groupadd postfix &amp;&amp;
    177 groupadd postdrop &amp;&amp;
    178 groupadd -g 65534 nogroup &amp;&amp;
    179 useradd -c postfix -d /dev/null -g postfix -s /bin/false postfix &amp;&amp;
    180 useradd -c nobody -d /home -g nogroup -s /bin/bash -u 65534 nobody &amp;&amp;
    181 chown postfix:postfix /var/mail</userinput></screen>
     173      that will be expected to be in place during the installation.
     174      Add the users and groups with the following commands issued by the
     175      <systemitem class='username'>root</systemitem> user:</para>
     176
     177<screen role="root"><userinput>groupadd -g 32 postfix &amp;&amp;
     178groupadd -g 33 postdrop &amp;&amp;
     179groupadd -g 99 nogroup &amp;&amp;
     180useradd -c "Postfix Daemon User" -d /dev/null -g postfix \
     181    -s /bin/false -u 32 postfix &amp;&amp;
     182useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
     183    -s /bin/false -u 99 nobody &amp;&amp;
     184chown -v postfix:postfix /var/mail</userinput></screen>
    182185
    183186      <para>Install <application>Postfix</application> by running the
    184187      following commands:</para>
    185188
    186 <screen role="root"><userinput>make &amp;&amp;
    187 sh postfix-install daemon_directory=/usr/sbin \
     189<screen role="root"><userinput>make</userinput></screen>
     190
     191    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     192
     193<screen role='root'><userinput>sh postfix-install daemon_directory=/usr/sbin \
    188194                   manpage_directory=/usr/share/man \
    189195                   sample_directory=/usr/share/doc/postfix \
     
    191197
    192198      <para>The final installation step is to install the program's documentation
    193       with the following commands:</para>
     199      with the following commands (again, as the
     200      <systemitem class="username">root</systemitem> user):</para>
    194201
    195202<screen role="root"><userinput>install -v -d /usr/share/doc/postfix &amp;&amp;
  • server/major/nfs-utils.xml

    r9274bc5 r0dfb754  
    101101
    102102<screen role="root"><userinput>groupadd -g 99 nogroup &amp;&amp;
    103 useradd -c nobody -d /home -g nogroup -s /bin/bash -u 99 nobody</userinput></screen>
     103useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
     104    -s /bin/false -u 99 nobody</userinput></screen>
    104105
    105106    <note>
Note: See TracChangeset for help on using the changeset viewer.