Changeset d1d9374


Ignore:
Timestamp:
06/04/2016 10:30:33 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
08411502
Parents:
620dc60
Message:

Add local user support and Linux-PAM configuration for vsftpd.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17442 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r620dc60 rd1d9374  
    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 systemd 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 "systemd">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    r620dc60 rd1d9374  
    4545-->
    4646    <listitem>
     47      <para>June 4th, 2016</para>
     48      <itemizedlist>
     49        <listitem>
     50          <para>[dj] - Add local user configuration and Linux-PAM for
     51          vsftpd.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
    4757      <para>June 2nd, 2016</para>
    4858      <itemizedlist>
  • server/major/vsftpd.xml

    r620dc60 rd1d9374  
    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
Note: See TracChangeset for help on using the changeset viewer.