password policy 🔑
Last updated
Was this helpful?
Last updated
Was this helpful?
First step will be editing the login.defs file:
Once we are done editing the file, we will set the next parameters:
PASS_MAX_DAYS 99999 -> PASS_MAX_DAYS 30
PASS_MIN_DAYS 0 -> PASS_MIN_DAYS 2
For continuing the installation we must install the next packages to enforce the password quality with the following command:
then we wrute Y
so we can continue; we wait till it finish.
Next thing we must do is is edit a file and change itś content. We will use
Below retry=3 we must add the following commands:
This is how the line must be↙️
This is how the file must look ↙️