- Timestamp:
- 06/04/2016 10:13:50 PM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/major/vsftpd.xml
r92963e5b ree92087f 178 178 EOF</userinput></screen> 179 179 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 >> /etc/vsftpd.conf << "EOF" 185 <literal>local_enable=YES</literal> 186 EOF</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 > /etc/pam.d/vsftpd << "EOF" && 197 <literal># Begin /etc/pam.d/vsftpd 198 auth required /lib/security/pam_listfile.so item=user sense=deny \ 199 file=/etc/ftpusers \ 200 onerr=succeed 201 auth required pam_shells.so 202 auth include system-auth 203 account include system-account 204 session include system-session</literal> 205 EOF 206 207 cat >> /etc/vsftpd.conf << "EOF" 208 <literal>session_support=YES 209 pam_service_name=vsftpd</literal> 210 EOF</userinput></screen> 211 180 212 </sect3> 181 213 182 214 <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 188 224 <xref linkend="systemd-units" revision="systemd"/> package.</para> 189 225
Note:
See TracChangeset
for help on using the changeset viewer.