zmjzhangmj 2020-04-30
[ ~]# passwd -S pispread pispread PS 2020-04-30 7 99999 15 -1 (Password set, SHA512 crypt.)用户锁定 [ ~]# passwd -l pispread Locking password for user pispread. passwd: Success查看用户 [ ~]# passwd -S pispread pispread LK 2020-04-30 7 99999 15 -1 (Password locked.)用户解锁 [ ~]# passwd -u pispread Unlocking password for user pispread. passwd: Success查看用户 [ ~]# passwd -S pispread pispread PS 2020-04-30 7 99999 15 -1 (Password set, SHA512 crypt.)