<?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: passwd global changes question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893534#M402818</link>
    <description>Ouch!&lt;BR /&gt;I wasn't too lazy, just busy.  We have 2 hp's that run quite well and I spend almost no time scripting, unless really really needed.  So instead of digging into it I submitted a posting.&lt;BR /&gt;&lt;BR /&gt;I thank you for the script, but as you can see from the time I submitted this and the delay in responding, I did find a solution on my own.&lt;BR /&gt;&lt;BR /&gt;Thanks for sharing your script but un-thanks for the snark.&lt;BR /&gt;Regards,&lt;BR /&gt;Doug</description>
    <pubDate>Thu, 30 Apr 2009 20:37:28 GMT</pubDate>
    <dc:creator>Doug_3</dc:creator>
    <dc:date>2009-04-30T20:37:28Z</dc:date>
    <item>
      <title>passwd global changes question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893530#M402814</link>
      <description>Hello, I would like to know how to force a global change to user login in a UNtrusted system.  Specifically I want to extend the expire date for all users by either 3 additional months or to a specific date.  &lt;BR /&gt;&lt;BR /&gt;I was unable to find a method in the man pages and didn't want to write a script to extract the uid and pipe to a passwd command for all the users grepped.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 30 Mar 2005 19:25:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893530#M402814</guid>
      <dc:creator>Doug_3</dc:creator>
      <dc:date>2005-03-30T19:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: passwd global changes question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893531#M402815</link>
      <description>Well, I should tell you if you are too lazy to write a script then tough because that's what it will take. I had a Perl script that was quite close so I spent about 5 minutes getting it done. I can't really do 3 months but I can do 12 weeks (starting every Thursday because 1-Jan-1970 was a Thursday).&lt;BR /&gt;&lt;BR /&gt;Copy the existing passwd file to a temporary location and make a safe copy of the passwd file. &lt;BR /&gt;&lt;BR /&gt;pwadjust.pl &amp;lt; tmpin_passwd &amp;gt; tmpout_passwd&lt;BR /&gt;&lt;BR /&gt;When you have run the script, you can move the output file to /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;Be logged in as root in at least two sessions when you move the file back so that you can get yourself out of trouble as fast as you got yourself in.&lt;BR /&gt;&lt;BR /&gt;There are 2 constants in the script, MIN_UID and ADDITIONAL_WKS. Any passwd entries less than &amp;lt; MIN_UID will pass through unchanged as will any passwd's that don't have aging values. ADDITIONAL_WKS is the increase. The currect setting + ADDIONAL_WKS will not exceed the maximum possible value, 64 weeks.&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Mar 2005 20:51:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893531#M402815</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-03-30T20:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: passwd global changes question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893532#M402816</link>
      <description>Hi Doug&lt;BR /&gt;&lt;BR /&gt;In UN-trusted system (as you said) don't support for this function!&lt;BR /&gt;If you want to configure like as you want, you have to convert your system from Untrusted system to trusted system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regard,&lt;BR /&gt;HoangChiCong</description>
      <pubDate>Wed, 30 Mar 2005 21:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893532#M402816</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2005-03-30T21:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: passwd global changes question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893533#M402817</link>
      <description>Nonsense, passwd aging has been supported in UNIX for decades --- long before even shadowed passwd's were available much less the tcb database. You certainly don't have all the features that a trusted system provides but basic aging is there and the script I wrote will do the trick  ---- even if this is NIS as long as you run it on the master and then do a ypmake to push the changed maps.</description>
      <pubDate>Wed, 30 Mar 2005 21:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893533#M402817</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-03-30T21:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: passwd global changes question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893534#M402818</link>
      <description>Ouch!&lt;BR /&gt;I wasn't too lazy, just busy.  We have 2 hp's that run quite well and I spend almost no time scripting, unless really really needed.  So instead of digging into it I submitted a posting.&lt;BR /&gt;&lt;BR /&gt;I thank you for the script, but as you can see from the time I submitted this and the delay in responding, I did find a solution on my own.&lt;BR /&gt;&lt;BR /&gt;Thanks for sharing your script but un-thanks for the snark.&lt;BR /&gt;Regards,&lt;BR /&gt;Doug</description>
      <pubDate>Thu, 30 Apr 2009 20:37:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893534#M402818</guid>
      <dc:creator>Doug_3</dc:creator>
      <dc:date>2009-04-30T20:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: passwd global changes question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893535#M402819</link>
      <description>crafted own script.</description>
      <pubDate>Thu, 30 Apr 2009 20:37:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-global-changes-question/m-p/4893535#M402819</guid>
      <dc:creator>Doug_3</dc:creator>
      <dc:date>2009-04-30T20:37:56Z</dc:date>
    </item>
  </channel>
</rss>

