码迷,mamicode.com
首页 > 系统相关 > 详细

linux下查看账号密码的过期时间和设置时间

时间:2016-02-01 14:27:36      阅读:212      评论:0      收藏:0      [点我收藏+]

标签:

[root@localhost myshell]# chage -l
Usage: chage [options] [LOGIN]

Options:
  -d, --lastday LAST_DAY        set date of last password change to LAST_DAY
  -E, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE
  -h, --help                    display this help message and exit
  -I, --inactive INACTIVE       set password inactive after expiration
                                to INACTIVE
  -l, --list                    show account aging information
  -m, --mindays MIN_DAYS        set minimum number of days before password
                                change to MIN_DAYS
  -M, --maxdays MAX_DAYS        set maximim number of days before password
                                change to MAX_DAYS
  -W, --warndays WARN_DAYS      set expiration warning days to WARN_DAYS

 

linux下查看账号密码的过期时间和设置时间

标签:

原文地址:http://www.cnblogs.com/zhangsubai/p/5174935.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!