跳转到主内容

将用户密码到期日期设置为90天也适用于管理员用户?

Views:
2
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

ONTAP 9

问题解答

是的、它也是适用场景管理员用户。
 
示例:
 

ontap98::*> security login role config show -vserver ontap98 -role admin
 
                                          Vserver: ontap98
                                        Role Name: admin
                 Minimum Username Length Required: 3
                           Username Alpha-Numeric: disabled
                 Minimum Password Length Required: 8
                           Password Alpha-Numeric: enabled
Minimum Number of Special Characters Required in the Password: 0
                       Password Expires In (Days): 2
   Require Initial Password Update on First Login: disabled
                Maximum Number of Failed Attempts: 0
                    Maximum Lockout Period (Days): 0
                      Disallow Last 'N' Passwords: 6
            Delay Between Password Changes (Days): 0
     Delay after Each Failed Login Attempt (Secs): 4
Minimum Number of Lowercase Alphabetic Characters Required in the Password: 0
Minimum Number of Uppercase Alphabetic Characters Required in the Password: 0
Minimum Number of Digits Required in the Password: 0
Display Warning Message Days Prior to Password Expiry (Days): 1
                        Account Expires in (Days): unlimited
Maximum Duration of Inactivity before Account Expiration (Days): unlimited
 
 
ontap98::*> date
Node      Date                     Time zone
--------- ------------------------ -------------------------
ontap98-01
          Sun Nov 19 11:51:06 2023 Asia/Shanghai
 
 
ontap98::*> date 202311201152
 
 
login as: admin
Keyboard-interactive authentication prompts from server:
| Password:
End of keyboard-interactive prompts from server
 
Last login time: 11/19/2023 11:50:03
Warning: Your password will expire in 0 days. Use the "security login password"                                                                                                                                                              command to change your password.
                              
 
ontap98::*> date 202311211156
 
login as: admin
Keyboard-interactive authentication prompts from server:
| Password:
End of keyboard-interactive prompts from server
 
Last login time: 11/20/2023 11:52:29
Your password has expired. Choose a new password.
Enter a new password:

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.

 

  • 这篇文章对您有帮助吗?