"'ftp' as a shell"

ProFTPd, vsftpd, pure-ftpd
Post Reply
Anonymous
 

"'ftp' as a shell"

Post by Anonymous »

Hallo,

in der README von PureFTPd steht der folgende Absatz:
Users need a shell listed in /etc/shells to get restricted or unrestricted FTP access. Alternatively, you can give them "ftp" as a shell. Users with a "ftp" shell will be able to login through FTP only: no telnet, no SSH. And there's no need (and you shouldn't do so) for an "ftp" entry in /etc/shells.
Trotz zahlreicher Bemühungen kann ich leider nicht nachvollziehen, welche Shell ich dem Benutzer A geben soll, der sich nur via FTP einloggen darf (nicht aber über SSH, etc.). Virtuelle Accounts möchte ich nutzen, da ich suexec verwende.
anzi@superwayne:~$ cat /etc/passwd | grep ftp
example.com:x:1002:1002::/var/www/example.com/./:/usr/bin/ftp
/usr/bin/ftp funktioniert eben leider nicht ... :(
Anonymous
 

Re: "'ftp' as a shell"

Post by Anonymous »

So, ich bin draufgekommen, was falsch war! UnixAuthentication muss aktiviert sein, sonst geht es nicht ... ;-)
Post Reply