CharlieC3
7/10/2017 - 7:49 PM

Disable password expiration

Disable password expiration

#!/bin/bash

# Minimum Password Age to 0
# Maximum Password Age to 99999
# Password Inactive to -1
# Account Expiration Date to -1
chage -I -1 -m 0 -M 99999 -E -1 root