CentOS6设置密码过期时间

#密码过期时间180天
chage -M 180 root
chage -l root
chage -M 180 gw
chage -l gw

原文地址:https://www.cnblogs.com/fanxuanhui-linux/p/6184972.html