ftp not work
hello minds,
i try to install proftpd pure-ftpd vsftpd but in all i have the same problem "530 Login incorrect." and i make useradd and put password for it!! any help please thank you |
Please tell your distribution with version.
Have you disabled SElinux? use following command to disable it. $ echo 0 > /selinux/enforce or $ setenforce 0 The following parameters should be in vsftpd.conf file anonymous_enable=NO local_enable=YES write_enable=YES connect_from_port_20=YES chroot_local_user=YES listen=YES local_root=/var/www/html pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES If not, set these parameters and restart the vsftpd using $ service vsftpd restart |
i set these parameters but the same problem
what is the correct way to add new user ? may be this is the problem ? thank you |
Add new ftp user using following command.
$ sudo adduser -c 'FTP USER hacker' -m hacker where username is hacker, now set password for this new user. $ sudo passwd hacker Now try to login with these new details. |
with out adding group for the user ??
---------- Post added 02-09-13 at 08:12 AM ---------- and how the user will access for ftp only ? |
i mean i want it to just login with ftp not ssh also
|
If you are trying to login using root user, it is not possible. It will give following error.
Code:
Response: 530 Permission denied. But if you are trying to connect using normal user which you made during installation or adduser command. It should be logged in. But if your SElinux is enabled, it does not give login incorrect error. Generally it gives following error. Code:
"500 oops cannot change directory /home/user in ftp" If you are trying to login using regular user and you have set above parameter. It should log in. There should not be repeat parameter in the file. Linux will read above one. Example - You have pasted these parameters at bottom of the page in conf file. It will not work. You have to search the parameter in the conf file and set the according to above comment. |
thank you pavi_kanetkar
its all done :) |
All times are GMT -5. The time now is 11:22 AM. |