Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section FTP Server
  • Search

Additional FTP account not getting created

Questions regarding the FTP Server
vsFTPd, ProFTPd
Post Reply
  • Print view
Advanced search
44 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
deadbeef
Posts: 13
Joined: Thu Feb 16, 2017 9:00 pm

Os: CentOS 6x
Web: apache + nginx
Re: Additional FTP account not getting created
  • Quote

Post by deadbeef » Sat Feb 18, 2017 9:20 am

skamasle wrote:Can some body explain me how reproduce exactly this in v17 and I will investigate it ?
I create accounts from gui and can access to FTP whit out any problems. in debian and centos.
Have no idea. Accounts are created, but obviously with incorrect password. After I change password in command line everything is fine.
Top

deadbeef
Posts: 13
Joined: Thu Feb 16, 2017 9:00 pm

Os: CentOS 6x
Web: apache + nginx
Re: Additional FTP account not getting created
  • Quote

Post by deadbeef » Sat Feb 18, 2017 9:27 am

Although I just tried again and everything worked... Strange.

Also a confusing thing is that users can access server via SFTP, but additional ftp accounts are only allowed to use FTP and SFTP gives them an "Access denied" error - it took some time to understand that. Maybe you should have some warning while creating additional accounts.
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Additional FTP account not getting created
  • Quote

Post by skamasle » Sat Feb 18, 2017 9:42 am

Yes only main account can access to SSH / SFTP additional account is only for FTP.

There is no warning but say " Addtional FTP account" not say additional user / SFTP or SSH account "

Maybe as you orther people have problemas try connecting by sftp :/
Top

deadbeef
Posts: 13
Joined: Thu Feb 16, 2017 9:00 pm

Os: CentOS 6x
Web: apache + nginx
Re: Additional FTP account not getting created
  • Quote

Post by deadbeef » Sat Feb 18, 2017 9:45 am

skamasle wrote:Yes only main account can access to SSH / SFTP additional account is only for FTP.

There is no warning but say " Addtional FTP account" not say additional user / SFTP or SSH account "

Maybe as you orther people have problemas try connecting by sftp :/
Most likely. And probably my trouble was caused by some misprint or extra space in password. Anyway everything is fine for me now, thanks =)
Top

dev7
Posts: 7
Joined: Thu Feb 23, 2017 4:31 pm

Re: Additional FTP account not getting created
  • Quote

Post by dev7 » Thu Feb 23, 2017 4:33 pm

I'm having this same problem, how do I change the password in command line?
Top

deadbeef
Posts: 13
Joined: Thu Feb 16, 2017 9:00 pm

Os: CentOS 6x
Web: apache + nginx
Re: Additional FTP account not getting created
  • Quote

Post by deadbeef » Thu Feb 23, 2017 5:09 pm

dev7 wrote:I'm having this same problem, how do I change the password in command line?
First make sure you're trying to connect using FTP protocol - not SFTP!
Top

dev7
Posts: 7
Joined: Thu Feb 23, 2017 4:31 pm

Re: Additional FTP account not getting created
  • Quote

Post by dev7 » Tue Feb 28, 2017 10:43 am

Yes I am trying to connect with FTP

etc/passwd

Code: Select all

admin_billing:x:1000:1000::/home/admin/web/dev.server.co.uk:/sbin/nologin
There are no errors in the auth.log but i get the error on screen of 'Login incorrect.' after the password is requested. I've tried changing the password, deleting/recreating the user and it still doesnt accept the log in.



if i change this line in /etc/passwd

Code: Select all

admin_billing:x:1000:1000::/home/admin/web/dev.server.co.uk:/bin/nologin
to

Code: Select all

admin_billing:x:1000:1000::/home/admin/web/dev.server.co.uk:/bin/bash
then it is working but is this correct for ftp?
Top

deadbeef
Posts: 13
Joined: Thu Feb 16, 2017 9:00 pm

Os: CentOS 6x
Web: apache + nginx
Re: Additional FTP account not getting created
  • Quote

Post by deadbeef » Tue Feb 28, 2017 11:00 am

Well you can try to set up a new password for that user via SSH:

Code: Select all

sudo passwd admin_billing
But as far as I remember exactly what you described happens when you try to connect via SFTP using additional FTP account. Some FTP clients offer that mode by default.
Top

deadbeef
Posts: 13
Joined: Thu Feb 16, 2017 9:00 pm

Os: CentOS 6x
Web: apache + nginx
Re: Additional FTP account not getting created
  • Quote

Post by deadbeef » Tue Feb 28, 2017 11:03 am

dev7 wrote:if i change this line in /etc/passwd

Code: Select all

admin_billing:x:1000:1000::/home/admin/web/dev.server.co.uk:/bin/nologin
to

Code: Select all

admin_billing:x:1000:1000::/home/admin/web/dev.server.co.uk:/bin/bash
then it is working but is this correct for ftp?
If so - you are definitely trying to connect using SFTP protocol. Revert your settings back to "/bin/nologin" and check connection settings in FTP client again. For example mine has options FTP, FTPES (Explicit), FTPS (Implicit) and SFTP, and correct option is FTP.
Top

dev7
Posts: 7
Joined: Thu Feb 23, 2017 4:31 pm

Re: Additional FTP account not getting created
  • Quote

Post by dev7 » Tue Feb 28, 2017 11:17 am

I'm definitely using FTP,
Image
have just tried it again changing that line back and it gives the same error
Top


Post Reply
  • Print view

44 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Return to “FTP Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password