Skip to main content
NetApp Knowledge Base

Password expires the next day even if it was reset after enabling the option -require-initial-passwd-update

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

Applies to

ONTAP 9

Issue

  •  After enabling the option -require-initial-passwd-update of security login role configuration, the password of all users belonging to the role expired as we expect.

Thu May 25 2023 11:24:00 +09:00 [kern_audit:info:2224]Vserver-01:ssh :: 1xx.xxx.21.xx:37504 :: Vserver-01:Username-01 :: security login role config modify -vserver Vserver-01 -role mt-role -require-initial-passwd-update enabled :: Success

[Username-01@xxxxxxx1 ~]$ date;ssh Username-01@Vserver-01
Thu May 25 11:14:01 JST 2023
Password:

Last login time: 5/17/2023 13:55:07
Unsuccessful login attempts since last login: 1
Your password has expired. Choose a new password.
Enter a new password:
Enter it again:

  •  After reset  password, login successfully to the user with the new password.

[User-01@xxxxxx1 ~]$ date; ssh User-01@Node-01

Thu May 25 11:29:25 JST 2023
Password:

Last login time: 5/25/2023 11:28:39
Unsuccessful login attempts since last login: 1

  • Generally, after resetting the password, it should never expire because the account expiration is set to unlimited. However, the next day, the password expires again.

[User-01@xxxxxx1 ~]$ date;ssh User-01@Node-01
Fri May 26 11:47:33 JST 2023
Password:

Last login time: 5/25/2023 11:29:32
Unsuccessful login attempts since last login: 1
Your password has expired. Choose a new password.
Enter a new password:

::> security login role config show -role Role-01 -instance
                                            Vserver: Vserver-01
                                          Role Name: Role-01
                   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): unlimited
     Require Initial Password Update on First Login: enabled
                  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): unlimited
                          Account Expires in (Days): unlimited
      Maximum Duration of Inactivity before Account
                                  Expiration (Days): unlimited

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.