【问题标题】:Perforce: How to change the password length requirement?Perforce:如何更改密码长度要求?
【发布时间】:2012-11-17 01:03:41
【问题描述】:

我希望将用户的密码强制更改为 7 个字符,但我收到以下消息: 密码长度至少应为 8 个字符。

我知道这可以更改,但我不确定如何更改。非常感谢您的帮助!

【问题讨论】:

  • 找到了答案,您可以使用“p4 configure set security=0”暂时放宽密码要求,更改密码,然后重新设置安全性。但是,如果您的安全设置为 2 级,则需要更改密码,并且此技术将不起作用。

标签: passwords perforce passwd


【解决方案1】:

Perforce 中的一切都可以通过命令行来完成,但是对于用户界面的爱好者,你可以启动P4Admin,然后使用AdministrationPassword Security Level。这将打开一个包含 4 个选项的对话框:

  • 3(需要基于票证的身份验证)
  • 2(需要强密码)
  • 1(需要密码)
  • 0(不需要密码)

如果您当前的用户没有权限,您将弹出警告。

Security Levels 详细说明了规则的here。正如 Smeltdown 的 cmets 中所解释的,1 级将具有“旧版支持”

Legacy support: Strong passwords are required for users of post-2003.2 Perforce applications, but existing passwords are not reset.
Pre-2003.2 Perforce applications can set passwords with p4 passwd or in the p4 user form, but password strength is not enforced.
Users with passwords can use either their P4PASSWD setting or the p4 login command for ticket-based authentication. 

对于级别 2,支持没有那么灵活:

Legacy support: All unverified strength passwords must be changed.
Users of pre-2003.2 Perforce applications cannot set passwords. Users at release 2003.2 or higher must use p4 passwd and enter their passwords at the prompt. Setting passwords with the p4 user form or the p4 passwd -O oldpass -P newpass command is prohibited.
On Windows, passwords are no longer stored in (or read from) the registry. (Storing P4PASSWD as an environment variable is supported, but passwords set with p4 set P4PASSWD are ignored.)
Users who have set strong passwords with a 2003.2 or higher Perforce application can use either their P4PASSWD setting for password-based authentication, or the p4 login command for ticket-based authentication. 

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-11-12
    • 2011-02-10
    • 2023-03-21
    • 1970-01-01
    • 1970-01-01
    • 2012-12-09
    相关资源
    最近更新 更多