user simple password SLES

Hello,

I would like to change a password of a user to a simple one but when i try to add an only lowercase pass i get the error:

Weak password: too short.
Try again.

You can now choose the new password.

A valid password should be a mix of upper and lower case letters,
digits, and other characters.  You can use an 8 character long
password with characters from at least 3 of these 4 classes.
An upper case letter that begins the password and a digit that
ends it do not count towards the number of character classes used.

How can i change this policy?

Thanks in advance

Hi,
You found information in files /usr/share/doc/pam*
maybe ??minlen??
you must edit a file in /etc/pam.d

1 Like

Thanks a lot john.I will take a look

---------- Post updated at 09:34 AM ---------- Previous update was at 05:48 AM ----------

I replaced the file /etc/pam.d/passwd with the following

#%PAM-1.0
auth include common-auth
account include common-account
password include common-password
session include common-session

It seems to work now.