BAD PASSWORD: This password has a strength of 45.

General support questions
Post Reply
malvinho
Posts: 4
Joined: 2018/06/15 01:15:51

BAD PASSWORD: This password has a strength of 45.

Post by malvinho » 2018/06/15 01:17:18

Hi guys,

Im looking where to change this passwd requirement in 7.5.

Do you know where I can disable it?

Regards,

Alvaro M.

malvinho
Posts: 4
Joined: 2018/06/15 01:15:51

Re: BAD PASSWORD: This password has a strength of 45.

Post by malvinho » 2018/06/15 22:30:03

Anyone please? Already read the documentation in 7.5 and no advise in how to disable this password control.

Tks

User avatar
TrevorH
Forum Moderator
Posts: 23454
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: BAD PASSWORD: This password has a strength of 45.

Post by TrevorH » 2018/06/16 11:31:23

Where are you even seeing this message? It's not something that I've ever seen before...
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

malvinho
Posts: 4
Joined: 2018/06/15 01:15:51

Re: BAD PASSWORD: This password has a strength of 45.

Post by malvinho » 2018/06/21 12:34:16

Here:

[root@vmi188197 ~]# passwd alvaro
Changing password for the user “alvaro” …
Changing password for “alvaro”.
New UNIX password:
BAD PASSWORD: This password has a strength of 20. A strength of 65 or higher is required.
New UNIX password:
BAD PASSWORD: This password has a strength of 18. A strength of 65 or higher is required.
New UNIX password:


Im using centos 7.5 its a webserver with whm.

malvinho
Posts: 4
Joined: 2018/06/15 01:15:51

Re: BAD PASSWORD: This password has a strength of 45.

Post by malvinho » 2018/06/21 12:35:09

Also,

When I want to choose mysql users password, I get the same message, that I have to use a strong password.
I need to use some personalized passwords in this system.

stevemowbray
Posts: 387
Joined: 2012/06/26 14:20:47

Re: BAD PASSWORD: This password has a strength of 45.

Post by stevemowbray » 2018/06/21 12:51:20

Sounds like the requirement is coming from your whm panel. Since that is not part of CentOS we can't advise.

User avatar
TrevorH
Forum Moderator
Posts: 23454
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: BAD PASSWORD: This password has a strength of 45.

Post by TrevorH » 2018/06/21 12:56:43

I do not believe that CentOS produces these messages. Everything I see via google about it says that this is cpanel specific so you need to ask them about it.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

sferreira
Posts: 69
Joined: 2016/04/26 16:06:06

Re: BAD PASSWORD: This password has a strength of 45.

Post by sferreira » 2018/06/28 09:48:12

I've never seen this message before neither, what confs/rules do you have on pam?
Also do you have something set on /etc/security/pwquality.conf ?

On MySQL you can bypass this message/situation by logging in mysql (with a user that has high privileges) and write:

Code: Select all

SET GLOBAL validate_password_policy=LOW;
After that you can create a user and set a password for a MySQL user that you want, this tough is temporary, if a restart occurs and you want to create another user with a "weak-normal" password you will have to make this command again.

Post Reply