#!/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.2 Ensure minimum days between password changes is 7 or more ## | |
sed -i 's/^PASS_MIN_DAYS\t.*$/PASS_MIN_DAYS 7/' /etc/login.defs |