更新文件系统和 SVM 角色的密码要求 - FSx 适用于 ONTAP
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

更新文件系统和 SVM 角色的密码要求

您可以使用更新文件系统或 SVM 角色的密码要求 security login role config modify ONTAP CLI 命令。此命令仅适用于具有 fsxadmin 角色的文件系统管理员账户。在修改密码要求时,如果有任何具有该角色的现有用户会受到更改的影响,系统将发出警告。

以下示例针对 fsx SVM 上具有 vsadmin-readonly 角色的用户将最低密码长度要求修改为 12 个字符。在此示例中,已有用户拥有该角色。

FsxId0123456::> security login role config modify -role vsadmin-readonly -vserver fsx -passwd-minlength 12

由于存在现有的用户,系统会显示以下警告:

Warning: User accounts with this role exist. Modifications to the username/password restrictions on this role could result in non-compliant user accounts. Do you want to continue? {y|n}: FsxId0123456::>