diff --git a/LDP/faq/docbook/Linux-FAQ.sgml b/LDP/faq/docbook/Linux-FAQ.sgml index e4805bc2..617cc7e7 100644 --- a/LDP/faq/docbook/Linux-FAQ.sgml +++ b/LDP/faq/docbook/Linux-FAQ.sgml @@ -368,8 +368,8 @@ source code distribution. A project has been underway for a while to port Linux to suitable 68000-series based systems like Amigas and Ataris. The Linux/m68K FAQ is located at - -http://www.linux-m68k.org/faq/faq.html + +http://www.clark.net/pub/lawrencc/linux/faq/faq.html . The URL of the Linux/m68k home page is http://www.linux-m68k.org. @@ -3846,7 +3846,8 @@ directory /etc/pam/ or /etc/pam.d/. If the corresponding authentication file doesn't exist, the instructions for configuring FTP and Telnet authentication and other PAM configuration, should be in -/usr/doc/pam-<version>. +/usr/doc/pam-<version>. Refer also to the +answer for ``.'' If it's an FTP server on an older system, make sure that the account @@ -6985,6 +6986,35 @@ page, and/or the settings in /etc/sysconfig/init. + + +FTP server says: ``421 service not available, remote server has closed connection.'' + + +If an FTP server won't allow logins, it is probably configured +correctly, but the problem is probably with authorizing users at login. +FTP servers in current distriubtions often authorize users with the +Pluggable Authentication Modules library, in which case there should +be an authorization file /etc/pam.d/ftp. A +generic authorization file looks like this. (The line break on the +first ``auth'' line is for readability. The entry is actually a single, +long line:) + + + #%PAM-1.0 + auth required /lib/security/pam_listfile.so item=user \ + sense=deny file=/etc/ftpusers onerr=succeed + auth required /lib/security/pam_pwdb.so shadow nullok + auth required /lib/security/pam_shells.so + account required /lib/security/pam_pwdb.so + session required /lib/security/pam_pwdb.so + + +Also, make sure the /etc/ftpusers file, or whatever +users file is named in the first ``auth'' line, is configured correctly. + + +