Control Web Panel
WebPanel => Installation => Topic started by: vipony12 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
-
Do you have PermitRootLogin yes in /etc/ssh/sshd_config?
-
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
-
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.
-
We are working on resolving this issue, a quick fix is to go to this file
nano /etc/login.defs
and comment out the following line
SHA_CRYPT_MAX_ROUNDS 5000
to
#SHA_CRYPT_MAX_ROUNDS 5000
then change the root password using the passwd command
-
Worked like a charm.
Thanks @josemnunez
-
We are working on resolving this issue, a quick fix is to go to this file
nano /etc/login.defs
and comment out the following line
SHA_CRYPT_MAX_ROUNDS 5000
to
#SHA_CRYPT_MAX_ROUNDS 5000
then change the root password using the passwd command
I can't wait to fix it, so i change to v8
In my AMZ server, my default value and still working normal
# Define the number of SHA rounds.
# With a lot of rounds, it is more difficult to brute-force the password.
# However, more CPU resources will be needed to authenticate users if
# this value is increased.
#
# If not specified, the libc will choose the default number of rounds (5000).
# The values must be within the 1000-999999999 range.
#
SHA_CRYPT_MAX_ROUNDS 100000
-
I faced a similar kind of issue last time, I am still searching for some proper solution Same issue still no fix to this.
-
I'm finding out it depends on what image has been used.
If you boot & install from the DVD .iso, there is no problem.
But seems like very provider does their own tweaks to the images they use.
So if your provider give you an option to upload a .iso and a console windows to install, that is the best way.
But what Jose posted above works on AL 9.
Just comment out the SHA_CRYPT_MAX_ROUNDS line.