LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-05-2018, 06:02 AM   #1
maryanionutz
LQ Newbie
 
Registered: Dec 2018
Posts: 6

Rep: Reputation: Disabled
Vsftpd 530 Login incorrect.


Hello, i'm using vesta panel and when i try to login trough ftp is showing me 530 login incorrect. I tried to find something on the internet but nothing till now, i need your help
 
Old 12-05-2018, 06:07 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,263

Rep: Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522
Quote:
Originally Posted by maryanionutz View Post
Hello, i'm using vesta panel and when i try to login trough ftp is showing me 530 login incorrect. I tried to find something on the internet but nothing till now, i need your help
Read the "Question Guidelines" link in my posting signature. You are not giving us ANY details about your system, what you've done/tried, etc., and we can't guess. Based on the error message it's pretty clear: you're putting in the wrong user ID/password.
 
Old 12-05-2018, 06:12 AM   #3
maryanionutz
LQ Newbie
 
Registered: Dec 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Read the "Question Guidelines" link in my posting signature. You are not giving us ANY details about your system, what you've done/tried, etc., and we can't guess. Based on the error message it's pretty clear: you're putting in the wrong user ID/password.
I'm using Centos 7 and vestacp, i create a ftp account and i tried more then once to connect and is showing me the same error,


/etc/vsftpd/vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_umask=022
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
dual_log_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_local_user=YES
allow_writeable_chroot=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
force_dot_files=YES
ascii_upload_enable=YES
ascii_download_enable=YES
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
use_localtime=YES

Here i change pam_service_name=vsftpd with =ftp, still nothing, i reinstalled again the vestacp and the operating system and i have the same issue. Sorry, i'm still new in this domain, but is weird for me because i have another server with vestacp just the system is different, Centos 6.10, and on this one is working without any problems.

My VPS configuration:
2Gb ram
CPU 1 core
20GB SSD
1000 Mbps

Last edited by maryanionutz; 12-05-2018 at 06:14 AM.
 
Old 12-05-2018, 08:15 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,263

Rep: Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522
Quote:
Originally Posted by maryanionutz View Post
I'm using Centos 7 and vestacp, i create a ftp account and i tried more then once to connect and is showing me the same error,
Code:
/etc/vsftpd/vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_umask=022
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
dual_log_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_local_user=YES
allow_writeable_chroot=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
force_dot_files=YES
ascii_upload_enable=YES
ascii_download_enable=YES
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
use_localtime=YES
Here i change pam_service_name=vsftpd with =ftp, still nothing, i reinstalled again the vestacp and the operating system and i have the same issue. Sorry, i'm still new in this domain, but is weird for me because i have another server with vestacp just the system is different, Centos 6.10, and on this one is working without any problems. My VPS configuration:
Code:
2Gb ram
CPU 1 core
20GB SSD
1000 Mbps
Ok...as said; you are putting in the wrong user ID or password. That's what the error says. Test this by using a command-line FTP client, and seeing what happens without the control panel.
 
Old 12-05-2018, 08:27 AM   #5
maryanionutz
LQ Newbie
 
Registered: Dec 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Ok...as said; you are putting in the wrong user ID or password. That's what the error says. Test this by using a command-line FTP client, and seeing what happens without the control panel.
How i can test it ? I tried in ssh
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	39
Size:	6.0 KB
ID:	29099   Click image for larger version

Name:	Capture1.PNG
Views:	39
Size:	7.5 KB
ID:	29100  

Last edited by maryanionutz; 12-05-2018 at 08:46 AM.
 
Old 12-05-2018, 09:06 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,263

Rep: Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522
Quote:
Originally Posted by maryanionutz View Post
How i can test it ? I tried in ssh
Sorry, but are you not reading the screen??? You're trying it from an FTP client, and it's telling you that either your user name or password **IS WRONG**. Enter the right name/password combination. Simple.

If you don't know the user ID or password, then as the administrator, you should be able to change or reset that password, or create a new user.
 
Old 12-05-2018, 09:10 AM   #7
maryanionutz
LQ Newbie
 
Registered: Dec 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Sorry, but are you not reading the screen??? You're trying it from an FTP client, and it's telling you that either your user name or password **IS WRONG**. Enter the right name/password combination. Simple.

If you don't know the user ID or password, then as the administrator, you should be able to change or reset that password, or create a new user.
Yes, i saw, but the think is that the user and pass is correct, now , i tried to create another ftp account using ssh, but the user is in /mnt and is working when i connect trough Filezilla , for that i used:
sudo useradd -d /mnt/Justin -m Justin
sudo passwd Justin

But i dont understand why is not working when i create the user for this directory /home/admin/web/test.com, you can tell me how i can create another user with ssh for this directory ? Maybe it will work if i'm using ssh
 
Old 12-05-2018, 09:50 AM   #8
maryanionutz
LQ Newbie
 
Registered: Dec 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by maryanionutz View Post
Yes, i saw, but the think is that the user and pass is correct, now , i tried to create another ftp account using ssh, but the user is in /mnt and is working when i connect trough Filezilla , for that i used:
sudo useradd -d /mnt/Justin -m Justin
sudo passwd Justin

But i dont understand why is not working when i create the user for this directory /home/admin/web/test.com, you can tell me how i can create another user with ssh for this directory ? Maybe it will work if i'm using ssh
So, when i connect to ftp i can see '/' on the ftp client, that is the home directory ?
 
Old 12-05-2018, 10:53 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,263

Rep: Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522Reputation: 7522
Quote:
Originally Posted by maryanionutz View Post
Yes, i saw, but the think is that the user and pass is correct, now , i tried to create another ftp account using ssh, but the user is in /mnt and is working when i connect trough Filezilla , for that i used:
sudo useradd -d /mnt/Justin -m Justin
sudo passwd Justin

But i dont understand why is not working when i create the user for this directory /home/admin/web/test.com, you can tell me how i can create another user with ssh for this directory ? Maybe it will work if i'm using ssh
You are NOT using SSH to create users/directories...you are using a regular terminal session to perform these things, just like you don't use SSH to connect to a site with FTP. Those are commands run at a terminal. If you want to change a users home directory, read the man page on the useradd/usermod commands.
Quote:
Originally Posted by maryanionutz
So, when i connect to ftp i can see '/' on the ftp client, that is the home directory ?
Since you have chroot'ed the users to their home directories, then all they will EVER see is "/".
 
Old 12-05-2018, 11:05 AM   #10
maryanionutz
LQ Newbie
 
Registered: Dec 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
You are NOT using SSH to create users/directories...you are using a regular terminal session to perform these things, just like you don't use SSH to connect to a site with FTP. Those are commands run at a terminal. If you want to change a users home directory, read the man page on the useradd/usermod commands.

Since you have chroot'ed the users to their home directories, then all they will EVER see is "/".
You have right, but i dont understand why is not working because the details are correct, i try more then one time and i create another ftp account trough vestacp, i dont understand why is showing me 530 Login incorrect and the details are good
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd 530 login incorrect pocon Slackware 11 07-31-2015 03:56 PM
CentOS 5.5 vsftpd virtual users with pam_passwdfile, 530 login incorrect batfastad Red Hat 2 11-17-2010 05:27 AM
vsftpd : 530 login incorrect sheelavantar Slackware 7 09-14-2010 04:07 AM
vsftpd & virtual users - 530 Login incorrect mjtice Linux - Software 3 12-08-2008 03:15 PM
vsftpd 1.1.2 on redhat 7.1 -- 530 incorrect login issue triggerfish Linux - Software 4 08-17-2003 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration