Skip to content

Set Root Account Password Maximum Age

An XCCDF Rule

Description

Configure the root account to enforce a -day maximum password lifetime restriction by running the following command:

$ sudo chage -M  root

Rationale

Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. If the operating system does not limit the lifetime of passwords and force users to change their passwords, there is the risk that the operating system passwords could be compromised.

ID
xccdf_org.ssgproject.content_rule_accounts_password_set_max_life_root
Severity
Medium
References
Updated