Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4803

Troubleshooting • Re: FTP server config for anonymous and remote access

$
0
0
@knute
...
Please confirm that you can connect from the console on the Pi running the vsftpd server?

knute@knute-XPS-8700:~$ ftp knute@localhost
Connected to localhost.
220 Welcome to Knute's XPS-8700 Desktop
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

That's what a normal user login looks like. Try to get the to happen on your Pi first.
That one works fine.

From local RPI shell:

Code:

gottsch@rpi4bmedia:~ $ ftp 192.168.11.188Connected to 192.168.11.188.220 (vsFTPd 3.0.3)Name (192.168.11.188:gottsch): gottsch331 Please specify the password.Password:230 Login successful.Remote system type is UNIX.Using binary mode to transfer files.ftp> pwd257 "/home/gottsch" is the current directoryftp> 
Same local shell trying anonymous:

Code:

ftp 192.168.11.188Connected to 192.168.11.188.220 (vsFTPd 3.0.3)Name (192.168.11.188:gottsch): ftp331 Please specify the password.Password:500 OOPS: vsftpd: refusing to run with writable root inside chroot()Login failed.421 Service not available, remote server has closed connectionftp> 
The ftp user account is there in the passwd file:

Code:

$ grep ftp /etc/passwdftp:x:117:127:ftp daemon,,,:/srv/ftp:/usr/sbin/nologin
So what's the reason the ftp does not like it?

Thanks for all the help & Cheers,
Gert

Statistics: Posted by Gert — Thu Jun 20, 2024 12:11 am



Viewing all articles
Browse latest Browse all 4803

Trending Articles