Skip to content
Search

/etc/login.defs

lastmod 2020-11-18created 2020-11-183 edits

Setting the minimum password length

Set the PASS_MIN_LEN value in the /etc/login.defs file to 8 or more.

Setting the maximum password age

Set the PASS_MAX_DAYS value in the /etc/login.defs file to 60 or less.

Setting the minimum password age

Set the PASS_MIN_DAYS value in the /etc/login.defs file to 30.

See also

Favorite site

author Zer0 sitemap