<?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: Reset all userid simultaneous in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520572#M23494</link>
    <description>Sarah,&lt;BR /&gt;&lt;BR /&gt;You can run the following command  cut -d : f1 /etc/passwd &amp;gt; "users login id"&lt;BR /&gt;edit the file, deleting root bin sys oracle etc.&lt;BR /&gt;Then run for loop on "user login id" file to force all users to change password on next login.</description>
    <pubDate>Tue, 24 Apr 2001 13:29:03 GMT</pubDate>
    <dc:creator>Junior C.</dc:creator>
    <dc:date>2001-04-24T13:29:03Z</dc:date>
    <item>
      <title>Reset all userid simultaneous</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520569#M23491</link>
      <description>The customer has a trusted system with more than 200 users. He wants to know if the is a command or a way that he can reset all 200 userid simultaneously, so that each time they login the system prompt for a new password. Cu knows that through SAM you can do that but one userid at a time and cu cannot manage to that a user at a time.He needs a command that can bundle all users(e.g on SAM-&amp;gt;users..then you select the userid and set the permission you want on password option)so su does not want to do as per SAM.</description>
      <pubDate>Tue, 24 Apr 2001 07:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520569#M23491</guid>
      <dc:creator>Sarah Mokwana</dc:creator>
      <dc:date>2001-04-24T07:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reset all userid simultaneous</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520570#M23492</link>
      <description>Heres a little awk script that should reset each of the users in /etc/passwd one by one :&lt;BR /&gt;&lt;BR /&gt;awk -F: '{ print "passwd -f " $1 }' /etc/passwd | sh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Apr 2001 08:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520570#M23492</guid>
      <dc:creator>Barry O Flanagan</dc:creator>
      <dc:date>2001-04-24T08:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reset all userid simultaneous</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520571#M23493</link>
      <description>Of course this will only expire all the users passwords so they have to enter a new password when the login again! It won't actually 'set' the users passwords for them.</description>
      <pubDate>Tue, 24 Apr 2001 08:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520571#M23493</guid>
      <dc:creator>Barry O Flanagan</dc:creator>
      <dc:date>2001-04-24T08:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reset all userid simultaneous</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520572#M23494</link>
      <description>Sarah,&lt;BR /&gt;&lt;BR /&gt;You can run the following command  cut -d : f1 /etc/passwd &amp;gt; "users login id"&lt;BR /&gt;edit the file, deleting root bin sys oracle etc.&lt;BR /&gt;Then run for loop on "user login id" file to force all users to change password on next login.</description>
      <pubDate>Tue, 24 Apr 2001 13:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520572#M23494</guid>
      <dc:creator>Junior C.</dc:creator>
      <dc:date>2001-04-24T13:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reset all userid simultaneous</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520573#M23495</link>
      <description>You can see:&lt;BR /&gt; usermod [-u uid [-o] ] [-g group] [-G group [, group...]] [-d dir [-m] ] [-s shell] [-c comment] [-f inactive] [-l new_logname] [-e expire] login &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Apr 2001 14:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520573#M23495</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-24T14:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reset all userid simultaneous</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520574#M23496</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As I've uderstood well, Sarah mentioned trusted system, &lt;BR /&gt;what means C2 security level. If so, all valid information about accounts and passwords is stored in files in &lt;BR /&gt;/tcb/files/auth/[A-Za-z].&lt;BR /&gt;For example info about user account bill is stored in the file /tcb/files/auth/b/bill&lt;BR /&gt;&lt;BR /&gt;As concerns password aging in such file it is neceesary to define parameters as in the example below:&lt;BR /&gt;&lt;BR /&gt;u_minchg#0:u_exp#0:u_life#86400:u_succhng#0:&lt;BR /&gt;where &lt;BR /&gt;u_minchg#0 means that password can be change immediately&lt;BR /&gt;u_exp#0 means that password is valid 0 days (exactly seconds)&lt;BR /&gt;u_life#86400 means the password life time equal to 1 day or 86400 seconds&lt;BR /&gt;u_succhng#0 means that the password should be changed at the next login.&lt;BR /&gt;This last parameter changes value to sth much more than 0 after changing password by user. And according to man 4 prpwd is not recommended to be changed manually.&lt;BR /&gt;But I did it and it works.&lt;BR /&gt;So to conclude, Sarah you should write a script, shell script for example to include such line or modify this line if already included for respective files for all users.&lt;BR /&gt;Seems to be not too difficult, but takes some time especially for testing.&lt;BR /&gt;&lt;BR /&gt;Hpe this short explanation helps to take right decision.&lt;BR /&gt;Rgds.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Apr 2001 18:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/reset-all-userid-simultaneous/m-p/2520574#M23496</guid>
      <dc:creator>Wieslaw Krajewski</dc:creator>
      <dc:date>2001-04-24T18:44:50Z</dc:date>
    </item>
  </channel>
</rss>

