How to fix Encryption error on login

Started by Administrator, September 10, 2014, 03:43:27 PM

Previous topic - Next topic

Administrator

If you get Encryption error on login using root then try following.

Login as root in shell/ssh
1. try setting new password for root user.
passwd


if this does not help then try
2. Check hashing (hashing needs to be md5 or )
authconfig --test | grep hashing

if you get following "password hashing algorithm is descrypt" then you need to change hashing type.
authconfig --passalgo=md5 --update

then again set new root password
passwd



Supported Encryptions are:
MD5: "authconfig --passalgo=md5 --update"
SHA-256: "authconfig --passalgo=sha256 --update"
SHA-512: "authconfig --passalgo=sha512 --update"

Note, all users need to change their passwords in order to generate hashes using new encryption.

Wizzie

well, i have a similar issue but with the users i've created.
i can login as root but not as user...

gavinengel

I would prefer to not have to change my password hashing algorithm.  Currently it is set to this, although I'm using Fedora 21.

$ authconfig --test | grep hashing     
password hashing algorithm is sha512

Is there anyway that the algorithm could be automatically discovered and used for the login user?

Administrator

with the current version no, but is could be added with some newer version.
CWP already has a few ones in auto-detection but probably not all.


ashleyyoung

Hi

I have tried the steps above, however it's a little different for me - I can login as the root fine, however I cannot login to users accounts.

Please help...

nothywu

Quote from: ashleyyoung on April 14, 2015, 07:40:59 PM
Hi

I have tried the steps above, however it's a little different for me - I can login as the root fine, however I cannot login to users accounts.

Please help...
Hi,

I got exactly the same problem..any fix?

Thanks

Administrator

if you have followed above instructions then only thing you need to do is to set a new password for a user.

pixelpadre

Followed the steps exactly and made no difference. V5.5 32bit

Administrator

you should check on that with your server admin or support, also it would be recommended to use centos 6 64bit system.

pixelpadre

I just installed centos 6.5 32bit and I still cant get in.  I have to use 32 bit because I only have 512MB ram on my server.

Administrator


pixelpadre

Sorry about getting back to you late.

I did go ahead and install the centos 6 version with 64bit.  And i can log in. ok.

But i still am having the same problem with all of the versions.  Internal server error 500.  I will post it.

Administrator


justcurious

I'm getting this error when trying to log in as both root and user when I use the domain url (www.mydomain.com:2030), but when using the IP address (123.123.123.123:2030), I can login with both.

If I browse to www.mydomain.com, I'm getting the HTTP Test Page powered by CWP, so that appears to be working as it should.

I'm using CentOS Linux release 7.3.1611 (Core) with CWP version: 0.9.8.296.

I have another server setup exactly the same (apart from the other is using CWPpro), but I can log in using domain url and ip address.

The hashing on both servers is SHA-512.

Any suggestions, please ?