passwd (1) - update user's authentication tokens
-d, --delete delete the password for the named account (root only)
-l, --lock lock the password for the named account (root only)
-u, --unlock unlock the password for the named account (root only)
-e, --expire expire the password for the named account (root only)
-S, --status report password status on the named account (root only)
[root@OS7 ~]# passwd
[root@OS7 ~]# passwd root
[root@OS7 ~]# passwd svl
[root@OS7 ~]# passwd --delete svl
[root@OS7 ~]# passwd --lock svl
[root@OS7 ~]# passwd --unlock svl
[root@OS7 ~]# passwd --expire svl
[root@OS7 ~]# passwd --status svl
passwd 更改用户密码
最新推荐文章于 2024-04-03 11:32:53 发布