Ok, ich bin im Internet auf diese ausführliche man-Page von in.ftpd gestossen. Der Abschnitt erklärt warum der Benutzer abgelehnt wurde.
First, the user name must be in the password data base,
/etc/passwd, and have a password that is not NULL. A pass-
word must always be provided by the client before any file
operations may be performed. The PAM framework (see SECU-
RITY below) is used to verify that the correct password was
entered.
Second, if the user name appears in the file /etc/ftpusers,
ftp access is denied. The default list of users in
/etc/ftpusers includes all of the accounts in passwd(4). See
ftpusers(4).
Third, ftp access is denied if the user's shell is not a
shell listed in getusershell(3C).
Fourth, if the user name is "anonymous" or "ftp", an entry
for the user name ftp must be present in the password and
shadow files. The user is then allowed to log in by
specifying any password - by convention this is given as the
user's e-mail address (such as user@host.Sun.COM). Do not
specify a valid shell in the password entry of the ftp user,
and do not give it a valid password (use NP in the encrypted
password field of the shadow file).
Bei mir war 3. falsch. Ich hatte mit vipw dem Benutzer die Shell /bin/false zugewiesen. Das wurde von in.ftpd leider nicht akzeptiert.
Jetzt habe ich ein anderes Problem. Wenn mein Benutzer in /etc/ftpchroot steht, funktioniert »ls« im FTP nicht mehr. Das Verzeichnis ist gechrootet. Ich kann Verzeichnise wechseln, alles kein Thema. Aber ich bekomme den Verzeichnisinhalt nicht angezeigt. Warum?
lemming