Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

密码强度

默认情况下,使用 username password roleenable password priv-lvl 命令配置的密码必须至少包含 9 个字母数字字符。要增加密码强度,您可以使用 password-attributes 命令创建更强的密码规则。这些密码规则适用于用户名和权限级别密码配置。

输入命令时,至少需要一个参数。输入此 character-restriction 参数时,至少需要一个选项。

  • 在 CONFIGURATION 模式下创建更强的密码规则。
    password-attributes {[min-length number] [character-restriction {[upper number] 
    [lower number][numeric number] [special-char number]}}
    • min-length number — 输入最小字母数字字符数,从 6 到 32;默认值为 9。
    • character-restriction — 在密码中输入字母数字字符的要求:
      • upper number — 需要最小大写字符数,从 0 到 31;默认值为 0。
      • lower number — 需要最小小写字符数,从 0 到 31;默认值为 0。
      • numeric number — 需要最小数字字符数,从 0 到 31;默认值为 0。
      • special-char number — 需要最小特殊字符数,从 0 到 31;默认值为 0。

要关闭使用 password-attributes 命令启用的强密码检查,请使用 service simple-password 命令。除了最低 9 个字符要求以外,没有密码规则应用于用户名和权限级别密码。要恢复为配置的 password-attributes 的设置,请使用 no service simple-password 命令。

创建强密码规则

OS10(config)# password-attributes min-length 7 character-restriction upper 4 numeric 2

显示密码规则

OS10# show running-configuration password-attributes
password-attributes min-length 7 character-restriction upper 4 numeric 2

禁用强密码检查

OS10(config)# password-attributes min-length 7 character-restriction upper 4 numeric 2
OS10(config)# username admin2 password 4newhire4 role sysadmin
  %Error: Password fail:  it does not contain enough DIFFERENT characters
OS10(config)# enable password 0 4newhire4 priv-lvl 5
  %Error: Password it does not contain enough DIFFERENT characters.
OS10(config)# service simple-password
OS10(config)# username admin2 password 4newhire4 role sysadmin
OS10(config)# enable password 0 4newhire4 priv-lvl 5

重新启用强密码检查

OS10(config)# no service simple-password

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\