Changeset 620b04a


Ignore:
Timestamp:
03/01/2014 09:47:07 PM (9 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 7.10, 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, ken/inkscape-core-mods, krejzi/svn, lazarus, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/soup3, xry111/test-20220226
Children:
3b00d20
Parents:
a6350ea
Message:

Change vsftpd 'empty' directory to FHS compatible location.

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    ra6350ea r620b04a  
    4949      <itemizedlist>
    5050        <listitem>
     51          <para>[bdubbs] - Move vsftpd 'empty' directory to FHS
     52          compliant location. Fixes
     53          <ulink url="&blfs-ticket-root;4721">#4721</ulink>.</para>
     54        </listitem>
     55        <listitem>
    5156          <para>[bdubbs] - Add a patch to remove ifconfig and hostname
    5257          when installing net-tools. Fixes
  • server/major/vsftpd.xml

    ra6350ea r620b04a  
    1111  <!ENTITY vsftpd-buildsize     "1.8 MB">
    1212  <!ENTITY vsftpd-time          "less than 0.1 SBU">
     13  <!ENTITY vsftpd-empty         "/usr/share/vsftpd/empty">
    1314]>
    1415
     
    8182    users, and groups with the following commands:</para>
    8283
    83 <screen role="root"><userinput>install -v -d -m 0755 /var/ftp/empty &amp;&amp;
    84 install -v -d -m 0755 /home/ftp      &amp;&amp;
    85 groupadd -g 47 vsftpd                &amp;&amp;
    86 groupadd -g 45 ftp                   &amp;&amp;
     84<screen role="root"><userinput>install -v -d -m 0755 &vsftpd-empty; &amp;&amp;
     85install -v -d -m 0755 /home/ftp               &amp;&amp;
     86groupadd -g 47 vsftpd                         &amp;&amp;
     87groupadd -g 45 ftp                            &amp;&amp;
    8788
    8889useradd -c "vsftpd User"  -d /dev/null -g vsftpd -s /bin/false -u 47 vsftpd &amp;&amp;
     
    119120    class='directory'>/home/ftp</filename>)
    120121    and the directory the daemon will chroot into
    121     (<filename class='directory'>/var/ftp/empty</filename>).</para>
     122    (<filename class='directory'>&vsftpd-empty;</filename>).</para>
    122123
    123124    <note>
     
    174175listen=YES
    175176nopriv_user=vsftpd
    176 secure_chroot_dir=/var/ftp/empty</literal>
     177secure_chroot_dir=&vsftpd-empty;</literal>
    177178EOF</userinput></screen>
    178179
     
    203204        <seg>vsftpd</seg>
    204205        <seg>None</seg>
    205         <seg>/var/ftp, /var/ftp/empty, /home/ftp</seg>
     206        <seg>//usr/share/vsftpd, /home/ftp</seg>
    206207      </seglistitem>
    207208    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.