标签:too inux color locking lock success auto class tool
[root@l01 ~]# passwd -S pispread
pispread PS 2020-04-30 7 99999 15 -1 (Password set, SHA512 crypt.)
用户锁定
[root@l01 ~]# passwd -l pispread
Locking password for user pispread.
passwd: Success
查看用户
[root@l01 ~]# passwd -S pispread
pispread LK 2020-04-30 7 99999 15 -1 (Password locked.)
用户解锁
[root@l01 ~]# passwd -u pispread
Unlocking password for user pispread.
passwd: Success
查看用户
[root@l01 ~]# passwd -S pispread
pispread PS 2020-04-30 7 99999 15 -1 (Password set, SHA512 crypt.)
标签:too inux color locking lock success auto class tool
原文地址:https://www.cnblogs.com/paul8339/p/12808105.html