检查所有用户的密码到期日期

  sre
# for user in (cat /etc/passwd |cut -d: -f1); do echouser; chage -l $user | grep "Password expires"; done | paste -d " "  - - | sed 's/Password expires//g'

LEAVE A COMMENT

Captcha Code