blob: b5ff27de48a124c9b7f09f26644baffe9abb7532 [file] [log] [blame]
#!/bin/bash
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
## Section: 5.4.1.1 Ensure password expiration is 365 days or less ##
sed -i 's/^PASS_MAX_DAYS\t.*$/PASS_MAX_DAYS 365/' /etc/login.defs