sudo gedit /etc/vsftpd.conf
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
#anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
#local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
#write_enable=YES
#
Comentar y descomentar las líneas indicadas y guardar.# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
#anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
#local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
#write_enable=YES
#
#anonymous_enable=YES
local_enable=YES
write_enable=YES
sudo service vsftpd restart
ftp localhost
Connected to localhost.
220 (vsFTPd 2.3.5)
Name (localhost:alumno101):
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>pwd
ls
...
bye
No hay comentarios:
Publicar un comentario