How to find out the complexity required for a Unix password

My Unix password was disabled and I need to enter a new one, so I get this bit right after logging in:

Current Password:#### New Password: 

but everything I type is too simple (apparently), even 1y4y5re987wnf

Is there anything I can type to find out the rules around the password?

+4
source share
2 answers

You should ask your system administrator: it may be that 1y4y5re987wnf rejected because it does not contain any special characters or without capital letters. You can also find additional information about your required password in the /etc/default/passwd .

+1
source

I expect that you will need at least one uppercase letter, at least one lowercase letter, at least one number, preferably at least one punctuation mark or control character and a total of at least 8 characters. However, without knowing much more about which version of Unix (Linux, etc.) you are using, no one can be more accurate than that. Different systems will introduce different rules. Different systems are likely to impose different upper limits on the length of the password.

0
source

All Articles