Page 3 of 5

Re: Additional FTP account not getting created

Posted: Sat Feb 18, 2017 9:20 am
by deadbeef
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.

Re: Additional FTP account not getting created

Posted: Sat Feb 18, 2017 9:27 am
by deadbeef
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.

Re: Additional FTP account not getting created

Posted: Sat Feb 18, 2017 9:42 am
by skamasle
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 :/

Re: Additional FTP account not getting created

Posted: Sat Feb 18, 2017 9:45 am
by deadbeef
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 =)

Re: Additional FTP account not getting created

Posted: Thu Feb 23, 2017 4:33 pm
by dev7
I'm having this same problem, how do I change the password in command line?

Re: Additional FTP account not getting created

Posted: Thu Feb 23, 2017 5:09 pm
by deadbeef
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!

Re: Additional FTP account not getting created

Posted: Tue Feb 28, 2017 10:43 am
by dev7
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?

Re: Additional FTP account not getting created

Posted: Tue Feb 28, 2017 11:00 am
by deadbeef
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.

Re: Additional FTP account not getting created

Posted: Tue Feb 28, 2017 11:03 am
by deadbeef
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.

Re: Additional FTP account not getting created

Posted: Tue Feb 28, 2017 11:17 am
by dev7
I'm definitely using FTP,
Image
have just tried it again changing that line back and it gives the same error