Fix “530 permission denied” in VSFTPD. Vsftpd is a server which provide many web hosting site and it is installed by default. Web hosting site has full control of VSFTD server but what about for normal user?
Fix “530 permission denied” in VSFTPD
If you are trying to access VSFTD server, you will get this below error:
# service vsftpd status vsftpd (pid 5806) is running... # ftp localhost Connected to localhost.localdomain. 220 (vsFTPd 2.0.5) 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (localhost:oracle): user 530 Permission denied. Login failed.
You will get this error immediately if the parameter is set with Yes options in userlist_deny and userlist_enable in the path /etc/vsftpd/vsftpd.conf file.
If you get “530 permission denied” it does not ask you to enter password.
In this case your old and new password is the not solution for 530 error. Now check userlist_enable parameter Yes is present or not. If this option is present then it will automatically loads the username to the file /etc/vsftpd/userlist_file.
If you try to login providing username and password or other method it will not work and it will show denied error immediately. It means you do not have permission to enter password in the nest steps, now put No option in the conf file like below.
You may also like :
Follow these steps one bye one:
Step #1 : Put these below options in the /etc/vsftpd/vsftpd.conf file.
# vi /etc/vsftpd/vsftpd.conf userlist_enable=YES userlist_deny=NO
Step #2 : Now add the username in the file “/etc/vsftpd/user_list“.
# cat /etc/vsftpd/user_list username1
Step #3 : Add the users who are not allowed to access ftp server editing “/etc/vsftpd/ftpusers“.
# cat /etc/vsftpd/ftpusers # Users that are not allowed to login via ftp root bin daemon adm lp sync shutdown halt news mail uucp games operator
Step #4 : Lets start vsftpd using below command:
# service vsftpd restart
Step #5: Now lets try to access ftp:
$ ftp localhost Connected to localhost.localdomain. 220 (vsFTPd 2.0.5) 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (localhost:root): username1 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp>
Step #6: You will get this below error if you try to access ftp with different users:
# ftp localhost Connected to localhost.localdomain. 220 (vsFTPd 2.0.5) 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (localhost:root): root 530 Permission denied. Login failed. ftp>
Thanks hope this tutorial will help you to solve 530 Permission Denied error.
If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at LookLinux Submit Article. Stay connected to Facebook.
Leave a Comment