<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get Current Password Age in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-Current-Password-Age/m-p/105023#M21520</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adai -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm so happy to see you on the community again !&lt;/P&gt;&lt;P&gt;I've missed you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's no API call or command I know of to pull a given user's password age.&lt;/P&gt;&lt;P&gt;But I did think of&amp;nbsp; a way it could be done.&lt;/P&gt;&lt;P&gt;You'd need the passwd age security settings.&lt;/P&gt;&lt;P&gt;The missing bit is when the user last changed the password.&lt;/P&gt;&lt;P&gt;Only place I know to find that would be from the logs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this response has been helpful to you, sir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At your service,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eugene E. Kashpureff, Sr.&lt;BR /&gt;Independent NetApp Consultant &lt;A target="_blank" href="http://www.linkedin.com/in/eugenekashpureff"&gt;http://www.linkedin.com/in/eugenekashpureff&lt;/A&gt;&lt;BR /&gt;Senior NetApp Instructor, IT Learning Solutions &lt;A target="_blank" href="http://sg.itls.asia/netapp"&gt;http://sg.itls.asia/netapp&lt;/A&gt;&lt;BR /&gt;(P.S. I appreciate 'kudos' on any helpful posts.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 May 2015 23:54:11 GMT</pubDate>
    <dc:creator>ekashpureff</dc:creator>
    <dc:date>2015-05-13T23:54:11Z</dc:date>
    <item>
      <title>How to get Current Password Age</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-Current-Password-Age/m-p/105020#M21518</link>
      <description>&lt;P&gt;In 7Mode there is way to set the min and max password age for each user. After which they are forced to change it or they cant login.&lt;/P&gt;&lt;P&gt;But the question here is, how to know get &amp;nbsp;how long it has been since the age was set, or in how many days will the password needs to be changed ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this was set today, I know the &lt;STRONG&gt;PasswordMaximumAgeTS : 75.00:00:00&amp;nbsp;&lt;/STRONG&gt;will expire in 75days and can start sending notifications 7 days earlier. So the question is, how to get that days left before the password expire using&amp;nbsp;&lt;SPAN&gt;any of the following.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Powershell commdlet, CLI or SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS H:\&amp;gt; get-nauser test123 -GetCapabilities | Format-list&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Name : test123&lt;BR /&gt;FullName :&lt;BR /&gt;Comment :&lt;BR /&gt;UseradminGroups : {Administrators}&lt;BR /&gt;AllowedCapabilities : {login-*, cli-*, api-*, security-*}&lt;BR /&gt;&lt;STRONG&gt;PasswordMaximumAgeTS : 75.00:00:00&lt;/STRONG&gt;&lt;BR /&gt;PasswordMinimumAgeTS : 00:00:00&lt;BR /&gt;Rid : 131135&lt;BR /&gt;Status : enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adai&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:18:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-Current-Password-Age/m-p/105020#M21518</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2025-06-05T04:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Current Password Age</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-Current-Password-Age/m-p/105023#M21520</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adai -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm so happy to see you on the community again !&lt;/P&gt;&lt;P&gt;I've missed you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's no API call or command I know of to pull a given user's password age.&lt;/P&gt;&lt;P&gt;But I did think of&amp;nbsp; a way it could be done.&lt;/P&gt;&lt;P&gt;You'd need the passwd age security settings.&lt;/P&gt;&lt;P&gt;The missing bit is when the user last changed the password.&lt;/P&gt;&lt;P&gt;Only place I know to find that would be from the logs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this response has been helpful to you, sir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At your service,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eugene E. Kashpureff, Sr.&lt;BR /&gt;Independent NetApp Consultant &lt;A target="_blank" href="http://www.linkedin.com/in/eugenekashpureff"&gt;http://www.linkedin.com/in/eugenekashpureff&lt;/A&gt;&lt;BR /&gt;Senior NetApp Instructor, IT Learning Solutions &lt;A target="_blank" href="http://sg.itls.asia/netapp"&gt;http://sg.itls.asia/netapp&lt;/A&gt;&lt;BR /&gt;(P.S. I appreciate 'kudos' on any helpful posts.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 23:54:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-Current-Password-Age/m-p/105023#M21520</guid>
      <dc:creator>ekashpureff</dc:creator>
      <dc:date>2015-05-13T23:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Current Password Age</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-Current-Password-Age/m-p/105027#M21522</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Eugene,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have mostly been active on the WFA communites lately. But, its nice to see you again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am sure this information is availabe in Ontap. Otherwise they wont be able to expire. Waiting so see if that information can be reterived programatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or as you suggested, scraping the log is the last resort. But it would be ugly and resource intensive compared to pulling it via a cli or sdk.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adai&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2015 00:53:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-Current-Password-Age/m-p/105027#M21522</guid>
      <dc:creator>AdaikkappanArumugam</dc:creator>
      <dc:date>2015-05-14T00:53:59Z</dc:date>
    </item>
  </channel>
</rss>

