[Others] 如何修改V20系统默认5次输入密码错误即锁定。
Tofloor
poster avatar
rayboot
deepin
2023-08-25 01:12
Author

已经尝试修改

  1. /var/lib/deepin/authenticate/config.json 的MaxTries为30
  2. /var/lib/deepin/authenticate/config_v1.json的MaxTries为30
  3. /etc/pam.d/common-auth增加auth required pam_tally2.so deny=30 unlock_time=60
  4. /etc/pam.d/login 增加auth required pam_tally2.so deny=30 unlock_time=60

都不能修改输入密码错误的次数。

另外就是如果用户锁定了,如何解锁?

Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2023-08-25 01:40
#1

用户被锁定可以通过Live CD修改密码

Reply View the author
忘记、过去
deepin
2023-08-25 03:02
#2

/usr/share/dde-session-shell/dde-session-shell.conf

如果是指用户登录界面和锁屏界面的锁定次数限制,可以在这个配置文件里面修改试试看

Reply View the author
LINUX小白菜
deepin
2023-08-25 19:15
#3

V20还有一个BUG就是连接88888888这样密码的WIFI竟然说密码错误,V23则这样的WIFI正常连接。

Reply View the author