Skip to content

linux passwd

felix0102 edited this page Dec 20, 2019 · 1 revision

修改linux的密码策略

  • BAD PASSWORD: it is based on a dictionary word

修改/etc/pam.d/system-auth 文件:将pam_cracklib.so所在的行的enforce_for_root去掉,用root账号可以将密码修改为简单密码

Reference Link

Clone this wiki locally