HOME

linux用户密码过期

chage -l username
chage -M 99999 username
cat /etc/login.defs | grep "PASS_MAX_DAYS"
sed -i.bak 's/^\(PASS_MAX_DAYS\).*/\1   99999/' /etc/login.defs