passwd 密码修改命令

Posted 2 years, 5 months ago at 11:32 am. 0 comments

ad 468x60

passwd
修改密码

passwd user1
更改user1的密码

passwd -l user1
锁定 user1 帐号

passwd -u user1
解锁 user1 帐号

passwd -d user1
删除 user1 密码

passwd -S user1
显示 user1 密码信息

passwd -n 30 user1
设置 user1 最小生命周期

ad 468x60

相关日志:

  • linux shell 技巧
  • linux shell diary
  • 设置 firefox 2.x 强制在 tab 而不是 新窗口打开
  • linux shell 快捷方式
  • 提高 feisty 性能
  • No Replies

    Feel free to leave a reply using the form below!


    Leave a Reply