Author Topic: Created New User can not login via u/p via :2082/:2083  (Read 34 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Created New User can not login via u/p via :2082/:2083
« on: May 21, 2025, 03:48:15 PM »
Hi,

I create a user on my box but user can not login to domain.dom:2083 page with their own user and password.
I change password via server.dom:2087 but the new password can not log in too.
However the server.com:2083/?token=XXX.YYY.ZZZ.TTT login thru the list accounts page on server.dom:2087 works OK.
domain.dom:2083/login/index.php?acc=validate says: {"error":"failed","code":{"status":"ERROR","rest":{"error":"failed"}}}

What do you suggest?

Distro Name: AlmaLinux release 9.6 (Sage Margay)
Kernel Version: 5.14.0-503.38.1.el9_5.x86_64
CWP Version: 0.9.8.1204

Offline
*****
Re: Created New User can not login via u/p via :2082/:2083
« Reply #1 on: May 21, 2025, 04:38:59 PM »
:2087 is the admin panel, so you will not be able to login as a normal user, only root.
:2083 is the user control panel (and I would not recommend using the non-SSL :2082).
This is a known issue with EL9 under CWP, so you need to make one small change, reset the user password and then they will be able to login:
https://forum.centos-webpanel.com/other/i-have-problem-with-users-panel-login-page-it-show-to-me-failed-cwp-alma-linux9/msg49587/#msg49587

Offline
*
Re: Created New User can not login via u/p via :2082/:2083
« Reply #2 on: May 21, 2025, 07:02:22 PM »
Issue fixed with commenting out SHA_CRYPT_MAX_ROUNDS line in the /etc/login.defs file.
Thank you very much!

Does CWP-Web/CWP-Wiki have a page for theese kind of fixes?

Offline
*****
Re: Created New User can not login via u/p via :2082/:2083
« Reply #3 on: May 21, 2025, 09:07:31 PM »
Wish they did; consider that a "hotfix" since it was from a CWP developer originally -- good for any EL9 distribution (Alma, Rocky, won't mention RHEL or *ahem* Stream).