Changeset ee92087f


Ignore:
Timestamp:
06/04/2016 10:13:50 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, 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:
87f9b815
Parents:
92963e5b
Message:

Add local user and Linux-PAM configuration to vsfptd.

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • book/bookinfo.xml

    r92963e5b ree92087f  
    1111  <date>$Date$</date>
    1212
    13   <title>Beyond Linux<superscript>&reg;</superscript> From Scratch</title>
     13  <title>Beyond Linux<superscript>&reg;</superscript> From Scratch<phrase revision="systemd"> (systemd edition)</phrase></title>
    1414  <subtitle>Version &version;</subtitle>
    1515
  • general.ent

    r92963e5b ree92087f  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "02">                   <!-- Always 2 digits -->
     3<!ENTITY day          "04">                   <!-- Always 2 digits -->
    44<!ENTITY month        "06">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2016">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "June 2nd &year;">
     9<!ENTITY releasedate  "June 4th &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    r92963e5b ree92087f  
    4444
    4545-->
     46    <listitem>
     47      <para>June 4th, 2016</para>
     48      <itemizedlist>
     49        <listitem>
     50          <para>[dj] - Add local user and Linux-PAM configuration to vsftpd.
     51          Fixes <ulink url="&blfs-ticket-root;7896">#7896</ulink>.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
    4656    <listitem revision="systemd">
    4757      <para>June 2nd, 2016</para>
    4858      <itemizedlist>
    49         <listitem revision="systemd">
     59        <listitem>
    5060          <para>[dj] - Update to blfs-systemd-units-20160602.tar.xz.</para>
    5161        </listitem>
  • server/major/vsftpd.xml

    r92963e5b ree92087f  
    178178EOF</userinput></screen>
    179179
     180      <para>To enable local logins, append the following to the
     181      <filename>/etc/vsftpd.conf</filename> file (as the
     182      <systemitem class="username">root</systemitem> user):</para>
     183
     184<screen><userinput role="root">cat &gt;&gt; /etc/vsftpd.conf &lt;&lt; "EOF"
     185<literal>local_enable=YES</literal>
     186EOF</userinput></screen>
     187
     188      <para>In additon, if using <application>Linux-PAM</application> and
     189      <application>vsftpd</application> with local user logins, you will need
     190      a <application>Linux-PAM</application> configuration file. As the
     191      <systemitem class="username">root</systemitem> user, create the
     192      <filename>/etc/pam.d/vsftpd</filename> file, and add the needed
     193      configuration changes for <application>Linux-PAM</application> session
     194      support using the following commands:</para>
     195
     196<screen><userinput role="root">cat &gt; /etc/pam.d/vsftpd &lt;&lt; "EOF" &amp;&amp;
     197<literal># Begin /etc/pam.d/vsftpd
     198auth       required     /lib/security/pam_listfile.so item=user sense=deny \
     199                                                      file=/etc/ftpusers \
     200                                                      onerr=succeed
     201auth       required     pam_shells.so
     202auth       include      system-auth
     203account    include      system-account
     204session    include      system-session</literal>
     205EOF
     206
     207cat &gt;&gt; /etc/vsftpd.conf &lt;&lt; "EOF"
     208<literal>session_support=YES
     209pam_service_name=vsftpd</literal>
     210EOF</userinput></screen>
     211
    180212    </sect3>
    181213
    182214    <sect3  id="vsftpd-init">
    183       <title>Boot Script</title>
    184 
    185       <para>Install the <filename>/etc/rc.d/init.d/vsftpd</filename>
    186       init script included in the
    187       <xref linkend="bootscripts" revision="sysv"/>
     215      <title><phrase revision="sysv">Boot Script</phrase>
     216             <phrase revision="systemd">Systemd Unit</phrase></title>
     217
     218      <para revision="sysv">Install the
     219      <filename>/etc/rc.d/init.d/vsftpd</filename> init script included in the
     220      <xref linkend="bootscripts" revision="sysv"/> package.</para>
     221
     222      <para revision="systemd">Install the <filename>vsftpd.service</filename>
     223      unit included in the
    188224      <xref linkend="systemd-units" revision="systemd"/> package.</para>
    189225
Note: See TracChangeset for help on using the changeset viewer.