123

锁定linux用户

使用 passwd -S root

查看用户root的密码状态

使用 passwd -l root

锁定用户root密码

使用 passwd -u root

解锁用户 root密码

使用usermod

-L -U -stuats

posted @ 2021-12-02 18:24  LeiYanRRZZ  阅读(95)  评论(0)    收藏  举报