<?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 variables password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769625#M74313</link>
    <description>Hello ALL&lt;BR /&gt;&lt;BR /&gt;I??d like know how can I discovery the password,s age. For Example: The user change his password ysterday, and then made 2 (two) days . How can I get this number ??&lt;BR /&gt;Thanks for all !!!</description>
    <pubDate>Mon, 22 Jul 2002 18:55:00 GMT</pubDate>
    <dc:creator>Clodoaldo João Rodrigue</dc:creator>
    <dc:date>2002-07-22T18:55:00Z</dc:date>
    <item>
      <title>variables password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769625#M74313</link>
      <description>Hello ALL&lt;BR /&gt;&lt;BR /&gt;I??d like know how can I discovery the password,s age. For Example: The user change his password ysterday, and then made 2 (two) days . How can I get this number ??&lt;BR /&gt;Thanks for all !!!</description>
      <pubDate>Mon, 22 Jul 2002 18:55:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769625#M74313</guid>
      <dc:creator>Clodoaldo João Rodrigue</dc:creator>
      <dc:date>2002-07-22T18:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: variables password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769626#M74314</link>
      <description>If you use C (and trusted systems) try getprpwent.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 19:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769626#M74314</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2002-07-22T19:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: variables password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769627#M74315</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you would have to use "password aging" on all the users where you need to collect/keep that piece of information. See the man page for "passwd(1M)" for the details (options -n and -x, IIRC).&lt;BR /&gt;Then the week (since 1970, 1st of Jan) is stored in the third and fourth character followinf the comma in the second field in your "/etc/passwd"... (modulo 64, of course and coded like this: /=0 .=1 0=2 ..9=11 A=12 .. z=63, again IIRC).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 20:47:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769627#M74315</guid>
      <dc:creator>Wodisch_1</dc:creator>
      <dc:date>2002-07-22T20:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: variables password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769628#M74316</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; you can try /usr/lbin/getprpw  userid&lt;BR /&gt;and look for spwchg field in the output for the last password change.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj</description>
      <pubDate>Mon, 22 Jul 2002 20:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769628#M74316</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2002-07-22T20:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: variables password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769629#M74317</link>
      <description>If your system is trusted there are a few things you could look at.&lt;BR /&gt;&lt;BR /&gt;last successful password change time&lt;BR /&gt;# /usr/lbin/getprpw -r -m spwchg fredb&lt;BR /&gt;Mon Jun 17 10:20:56 2002&lt;BR /&gt;&lt;BR /&gt;Password expiry in days&lt;BR /&gt;# /usr/lbin/getprpw -r -m exptm fredb&lt;BR /&gt;3&lt;BR /&gt;&lt;BR /&gt;Have a look at the man pages for this from this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xebf46c96588ad4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xebf46c96588ad4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 20:58:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769629#M74317</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-07-22T20:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: variables password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769630#M74318</link>
      <description>If you have password aging, passwd -s {username} will give the date of the last successful change (3rd field).  This won't work on 10.20, though.</description>
      <pubDate>Mon, 22 Jul 2002 21:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769630#M74318</guid>
      <dc:creator>Ian Kidd_1</dc:creator>
      <dc:date>2002-07-22T21:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: variables password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769631#M74319</link>
      <description>By the way, you can not find back your password in HP-UX.&lt;BR /&gt;&lt;BR /&gt;live as you wish&lt;BR /&gt;ux</description>
      <pubDate>Tue, 23 Jul 2002 05:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769631#M74319</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2002-07-23T05:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: variables password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769632#M74320</link>
      <description>Just to foster the use of Perl,&lt;BR /&gt;the getpw* functions of the C lib are also available in Perl&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;perl -e '$expire = (getpwuid 0)[9];printf "expiration for root: %s\n"&lt;BR /&gt;, defined $expire ? $expire : "not set"'&lt;BR /&gt;&lt;BR /&gt;At the shell type for instance&lt;BR /&gt;&lt;BR /&gt;perldoc -f getpwnam&lt;BR /&gt;&lt;BR /&gt;to find out more...</description>
      <pubDate>Tue, 23 Jul 2002 06:22:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769632#M74320</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-07-23T06:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: variables password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769633#M74321</link>
      <description>Is there some form to made a replication from /etc/passwd??&lt;BR /&gt;Because, we have 8 severs, and some users have user id in all servers.&lt;BR /&gt;PS: without use NIS.&lt;BR /&gt;Yhanks ???&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jul 2002 12:08:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/variables-password/m-p/2769633#M74321</guid>
      <dc:creator>Clodoaldo João Rodrigue</dc:creator>
      <dc:date>2002-07-25T12:08:33Z</dc:date>
    </item>
  </channel>
</rss>

