<?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: Password change for 500 users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-for-500-users/m-p/3189753#M796573</link>
    <description>Hi Joyce,&lt;BR /&gt;&lt;BR /&gt;This may get you started.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=48946" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=48946&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227228" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227228&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth.</description>
    <pubDate>Wed, 11 Feb 2004 21:14:36 GMT</pubDate>
    <dc:creator>Sanjiv Sharma_1</dc:creator>
    <dc:date>2004-02-11T21:14:36Z</dc:date>
    <item>
      <title>Password change for 500 users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-for-500-users/m-p/3189752#M796572</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need some help, i am having a trusted system and have almost 500 users in there.&lt;BR /&gt;&lt;BR /&gt;I need to change the password of all these users. Is there any scripts in any of your keeping that does in a for loop, a user is picked up, then prompts for password, i key in the password, then it goes and pick the next user from the /etc/passwd file....prompt for password, i key in and then the process goes on...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Joyce</description>
      <pubDate>Wed, 11 Feb 2004 21:04:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-for-500-users/m-p/3189752#M796572</guid>
      <dc:creator>Joyce Suganthy</dc:creator>
      <dc:date>2004-02-11T21:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Password change for 500 users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-for-500-users/m-p/3189753#M796573</link>
      <description>Hi Joyce,&lt;BR /&gt;&lt;BR /&gt;This may get you started.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=48946" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=48946&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227228" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227228&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Wed, 11 Feb 2004 21:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-for-500-users/m-p/3189753#M796573</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2004-02-11T21:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Password change for 500 users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-for-500-users/m-p/3189754#M796574</link>
      <description>This utility script contains the code(maybe commented) that will help you get the job done.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 11 Feb 2004 21:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-for-500-users/m-p/3189754#M796574</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-11T21:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Password change for 500 users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-change-for-500-users/m-p/3189755#M796575</link>
      <description>This utility script contains the code(maybe commented) that will help you get the job done.&lt;BR /&gt;&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;&lt;BR /&gt;MINDAYS=7&lt;BR /&gt;MAXDAYS=61&lt;BR /&gt;&lt;BR /&gt;useradd -D -g sag&lt;BR /&gt;useradd -D&lt;BR /&gt;# for user in `awk '{ FS=":"; print $1 $5 $6 }' /root/passwd'&lt;BR /&gt;# for user in `awk '{ FS=":"; print $1 $5 $6 }' /root/passwd`&lt;BR /&gt;for user in `awk '{ FS=":"; print $1 }' /root/passwd`&lt;BR /&gt;do&lt;BR /&gt;# $user=`awk '{ FS=","; print $1 }' $userstring`&lt;BR /&gt;#  passwd -r file -n $MINDAYS -x $MAXDAYS $user&lt;BR /&gt;#  echo "$user"&lt;BR /&gt;#   passwd -f $user&lt;BR /&gt;   passwd -x 48 $user&lt;BR /&gt;   /usr/lbin/modprpw -l -k  $user&lt;BR /&gt;#  useradd -m $user&lt;BR /&gt;#  echo "Command2: passwd -f $user "&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 11 Feb 2004 21:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-change-for-500-users/m-p/3189755#M796575</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-11T21:53:12Z</dc:date>
    </item>
  </channel>
</rss>

