Changeset 13be1e2


Ignore:
Timestamp:
04/19/2006 04:23:36 PM (18 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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:
bd3510d
Parents:
0a58ea4
Message:

Updated proftpd instructions to adjust ownershp and directory locations

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r0a58ea4 r13be1e2  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[bdubbs] - Updated proftpd instructions.</para>
     49        </listitem>
     50        <listitem>
    4851          <para>[randy] - Updated to Socket6-0.19.</para>
    4952        </listitem>
  • server/major/proftpd.xml

    r0a58ea4 r13be1e2  
    7878
    7979<screen role="root"><userinput>groupadd -g 46 proftpd &amp;&amp;
    80 useradd -c proftpd -d /home/ftp -g proftpd \
    81         -s /usr/lib/proftpd/proftpdshell -u 46 proftpd &amp;&amp;
    82 install -v -d -m775 -o proftpd -g proftpd /usr/lib/proftpd &amp;&amp;
    83 ln -v -s /bin/false /usr/lib/proftpd/proftpdshell &amp;&amp;
    84 echo /usr/lib/proftpd/proftpdshell &gt;&gt; /etc/shells</userinput></screen>
     80useradd -c proftpd -d /srv/ftp -g proftpd \
     81        -s /usr/bin/proftpdshell -u 46 proftpd &amp;&amp;
     82install -v -d -m775 -o proftpd -g proftpd /srv/ftp &amp;&amp;
     83ln -v -s /bin/false /usr/bin/proftpdshell &amp;&amp;
     84echo /usr/bin/proftpdshell &gt;&gt; /etc/shells</userinput></screen>
    8585
    8686    <para>Install <application>ProFTPD</application> as an unprivileged user by
    8787    running the following commands:</para>
    8888
    89 <screen><userinput>install_user=proftpd install_group=proftpd \
    90     ./configure --prefix=/usr --sysconfdir=/etc \
     89<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
    9190    --localstatedir=/var/run &amp;&amp;
    9291make</userinput></screen>
     
    102101
    103102    <para><command>install -v -d -m775 -o proftpd -g proftpd
    104     /usr/lib/proftpd</command>: Create the home directory for
     103    /srv/ftp</command>: Create the home directory for
    105104    <application>ProFTPD</application>.</para>
    106105
    107     <para><command>ln -v -s /bin/false /usr/lib/proftpd/proftpdshell</command>:
     106    <para><command>ln -v -s /bin/false /usr/bin/proftpdshell</command>:
    108107    Set the default shell as a link to an invalid shell.</para>
    109108
    110     <para><command>echo /usr/lib/proftpd/proftpdshell &gt;&gt;
     109    <para><command>echo /usr/bin/proftpdshell &gt;&gt;
    111110    /etc/shells</command>: Fake a valid shell for compatibility purposes.</para>
    112111
    113112    <note>
    114       <para>The above three commands can be omitted if the following directive is
     113      <para>The above two commands can be omitted if the following directive is
    115114      placed in the configuration file:</para>
    116115
     
    122121      for anonymous downloads.</para>
    123122    </note>
    124 
    125     <para><parameter>install_user=proftpd install_group=proftpd</parameter>:
    126     Specify the user and group identity for
    127     <application>ProFTPD</application>.</para>
    128123
    129124    <para><parameter>--sysconfdir=/etc</parameter>: This prevents the
Note: See TracChangeset for help on using the changeset viewer.