Author Topic: Problem with FTP access  (Read 43513 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: Problem with FTP access
« Reply #15 on: December 12, 2018, 09:41:19 AM »
The same,... 0.9.8.749 don't fix ftp issue

CentOS 6 - CWP version: 0.9.8.573 ftp no issues,... working fine

only ftp issues with CentOS 7 - CWP version: 0.9.8.749

« Last Edit: December 12, 2018, 10:15:34 AM by gasonline »

Offline
*
Re: Problem with FTP access
« Reply #16 on: December 12, 2018, 11:23:12 AM »
I updated my server today to version 0.9.8.751 and the FTP issue still unfixed.

Offline
*
Re: Problem with FTP access
« Reply #17 on: December 12, 2018, 11:52:54 AM »
I found a workaround... I tested in my server in this scenario:

  • CWP version 0.9.8.751
  • CentOS Linux release 7.6.1810 (Core)
  • FTP version: 1.0.46

In terminal, enter the command below:

Code: [Select]
echo '/sbin/nologin' >> /etc/shells
Source: https://github.com/jedisct1/pure-ftpd/issues/98

Offline
*
Re: Problem with FTP access
« Reply #18 on: December 12, 2018, 12:15:03 PM »
In another server I do a system update using the YUM on a CWP version 0.9.8.751 and the issue with the FTP don't occur.

I think that the FTP login error occur only after a YUM update in a CWP 0.9.8.747 server.

Offline
***
Re: Problem with FTP access
« Reply #19 on: December 12, 2018, 01:16:32 PM »
but this error persists ...

Offline
*
Re: Problem with FTP access
« Reply #20 on: December 12, 2018, 04:40:11 PM »
but this error persists ...

Try execute the "update_cwp" and the "yum update -y".

Code: [Select]
sh /scripts/update_cwp
yum update -y

After this... execute the command:

Code: [Select]
echo '/sbin/nologin' >> /etc/shells
For me the command above fixed the issue... sorry if it don't works to you, I'm not a linux expert. :-(

Offline
*
Re: Problem with FTP access
« Reply #21 on: December 12, 2018, 06:24:57 PM »
You're a genius!

echo '/sbin/nologin' >> /etc/shells

fixed mine! :)

Offline
*
Re: Problem with FTP access
« Reply #22 on: December 12, 2018, 06:40:10 PM »
You're a genius!

echo '/sbin/nologin' >> /etc/shells

fixed mine! :)

No, I'm not... hehe

Thanks to grubberr (https://github.com/grubberr). :-)

Offline
*
Re: Problem with FTP access
« Reply #23 on: December 12, 2018, 10:24:13 PM »
you could have a double line if the issue is not related to shell file so there is an improved way how this would need to be done

Code: [Select]
grep "^/sbin/nologin$" /etc/shells || echo "/sbin/nologin" >> /etc/shells
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Problem with FTP access
« Reply #24 on: December 13, 2018, 12:50:29 AM »
Isn't possible edit my replies and change the code that I posted to show yours and avoid issues? =(

Offline
***
Re: Problem with FTP access
« Reply #25 on: December 13, 2018, 05:26:02 AM »
Hi,
can anyone say what exactly to do to recover the user's ftp access ...
Here are opinions about how to circumvent the problem that I think is wrong...
BR
Venty

Offline
*
Re: Problem with FTP access
« Reply #26 on: December 13, 2018, 08:45:45 AM »
cwp autoupdate has now autodetection for this issue related to centos 7.6 updates so there is no need for this forum topic anymore as cwp will fix this automatically.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Problem with FTP access
« Reply #27 on: December 14, 2018, 12:48:52 AM »
Hi,
can anyone say what exactly to do to recover the user's ftp access ...
Here are opinions about how to circumvent the problem that I think is wrong...
BR
Venty

If your server don't update automatically yet, just force update your CWP using the update_cwp script.

Code: [Select]
sh /scripts/update_cwp
[]'s

Offline
***
Re: Problem with FTP access
« Reply #28 on: December 14, 2018, 07:39:19 AM »
I'm already with a CWPpro version: 0.9.8.752, but my problem with a lack of FTP access continues ...?!?!

Offline
*
Re: Problem with FTP access
« Reply #29 on: February 06, 2019, 12:07:56 PM »
Hi, I had the same issue on CentOS 7.6 with a newly created FTP User.
After struggling for hours I found that that the password field under FTP Manager->Add User has the following Condition:
Code: [Select]
min="6" maxlength="12"
So just choose a password between 6 and 12 and you should be fine.


This should also be mentioned in any Wiki or changed!
« Last Edit: February 06, 2019, 12:09:38 PM by yunits »