Quantcast
Viewing latest article 25
Browse Latest Browse All 330

Setting password policies

How can I set password policies such as password complexity, password aging, lockout settings, and number of failed logins in Ubuntu 22.04?

Specifically I want:

  • Password expiration in 60 days
  • No reuse of the 6 last passwords
  • The password must contain at least 1 Lowercase, 1 Uppercase, 1 Number and 1 special character
  • Lockout user for 15 minutes after 5 failed attempts
  • Policy should apply to non-root users

Viewing latest article 25
Browse Latest Browse All 330

Trending Articles