Author Topic: CWP Fresh install on Almalinux 9 Error root login  (Read 189 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP Fresh install on Almalinux 9 Error root login
« on: November 26, 2024, 05:03:45 AM »
I try install cwp on almalinux 9 but i got error root login
Try change pass root, test by ssh command but still error login

Last day, i tested on almalinux9 on AMZ server, all working, current server tested working too

So, what error? How to check logs for that

Offline
*****
Re: CWP Fresh install on Almalinux 9 Error root login
« Reply #1 on: November 26, 2024, 06:05:14 AM »
Do you have PermitRootLogin yes in /etc/ssh/sshd_config?

Offline
*
Re: CWP Fresh install on Almalinux 9 Error root login
« Reply #2 on: November 26, 2024, 11:24:21 AM »
Do you have PermitRootLogin yes in /etc/ssh/sshd_config?

Yes, PermitRootLogin is enabled
I can login by ssh with password from an other server
CWP no provide any logs for that

Offline
*****
Re: CWP Fresh install on Almalinux 9 Error root login
« Reply #3 on: November 28, 2024, 02:35:37 PM »
If this is a new AlmaLinux 9 install, it's a know bug being worked on.

Having the same issue on a new server brought up yesterday.

Offline
*****
Re: CWP Fresh install on Almalinux 9 Error root login
« Reply #4 on: November 28, 2024, 08:29:58 PM »
We are working on resolving this issue, a quick fix is ​​to go to this file
Code: [Select]
nano /etc/login.defs


and comment out the following line
Code: [Select]
SHA_CRYPT_MAX_ROUNDS 5000
to
Code: [Select]
#SHA_CRYPT_MAX_ROUNDS 5000

then change the root password using the passwd command

Offline
*****
Re: CWP Fresh install on Almalinux 9 Error root login
« Reply #5 on: November 28, 2024, 11:19:59 PM »
Worked like a charm.

Thanks @josemnunez