Linux password complexity rules

A root can change the password of self and any user in the system, there is no rule for root to assign a password. Root can assign any lenght of password either long or short, it can be alphabet or numeric or both. On whole there is no limitation for root assigning a password.

A normal user can change their own password. Valid password for user should adhere to the following rules.

  • Password should be atleast 7 characters but not more than 255 characters.
  • Atleast one character should be Upper Case.
  • Atleast one character should be Lower Case.
  • Atleast one character should be a Symbol and number.
  • Password should not match with previous password.
  • The login name and the password cant be the same.
Powered by k2schools
Skip to toolbar