chage -l username (查看用户登录时间:username为查看的用户) chage -M 90 username (将用户登录主机的时间更改为90天) 转载于:https://www.cnblogs.com/MUQINGFENG123/p/11075912.html