<?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: Same password for different users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521811#M220053</link>
    <description>Ravindar,&lt;BR /&gt;did the answers resolve your problem?&lt;BR /&gt;If not can you please update the thread.&lt;BR /&gt;&lt;BR /&gt;Also please read&lt;BR /&gt;(0 points for 15 responses)&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#34" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#34&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards</description>
    <pubDate>Thu, 14 Apr 2005 08:20:42 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2005-04-14T08:20:42Z</dc:date>
    <item>
      <title>Same password for different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521805#M220047</link>
      <description>I have a HP UX 11.0. Are there any way/script to set the same password for different users?.I require this because i plan to do a load testing of changing the password concurrently for approximately 250 users.&lt;BR /&gt;Please give me some suggestions.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Apr 2005 02:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521805#M220047</guid>
      <dc:creator>Ravindar_1</dc:creator>
      <dc:date>2005-04-11T02:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Same password for different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521806#M220048</link>
      <description>Ravindar,&lt;BR /&gt;probably the quickest way is to get a software product called "expect".&lt;BR /&gt;With this you can mimik all the user input to passwd.&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 11 Apr 2005 03:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521806#M220048</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-04-11T03:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Same password for different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521807#M220049</link>
      <description>Ravindar,&lt;BR /&gt;forgot to mention software available at:&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/&lt;/A&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 11 Apr 2005 03:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521807#M220049</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-04-11T03:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Same password for different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521808#M220050</link>
      <description>Peter, &lt;BR /&gt;  Thanks a lot for your suggestion.. are there any other way/script without using a software to be loaded?.. coz i need to follow lot of procedures(approvals,...) to get s/w loaded to my machine..Pls advise..</description>
      <pubDate>Mon, 11 Apr 2005 05:34:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521808#M220050</guid>
      <dc:creator>Ravindar_1</dc:creator>
      <dc:date>2005-04-11T05:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Same password for different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521809#M220051</link>
      <description>Frankly, no, expect is the only reasonable way to accomplish this.  The problem is that the passwd command is interactive - it expects a response from the keyboard and the only way to satisfy it is to use something like expect.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 11 Apr 2005 05:42:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521809#M220051</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-04-11T05:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Same password for different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521810#M220052</link>
      <description>Actually, you can use the undocumented command: /usr/sam/lbin/usermod.sam. This is actually the standard /usr/sbin/usermod command but when it is run under a different name (usermod.sam), it adds the -p option. The -p option requires the fully-encrypted password just as it would appear in /etc/passwd (or the /tcb database). The attached simple program will create an excrypted password that you can paste into the -p option for usermod.sam. Something like this:&lt;BR /&gt; &lt;BR /&gt;cc -o pw pw.c&lt;BR /&gt;pw abc123&lt;BR /&gt;Usage: pw &lt;PASSWORD_TO_ENCRYPT&gt;&lt;BR /&gt;Requested pw= abc123, Seed= BJ, encrypted pw= BJkKDVTAGF5fU&lt;BR /&gt; &lt;BR /&gt;/usr/sam/lbin/usermod -p BJkKDVTAGF5fU USER_LOGIN&lt;BR /&gt; &lt;BR /&gt;Now if this is to simply set all the passwords to the same value so the accounts can be exercised at a later time, this is fine. &lt;BR /&gt; &lt;BR /&gt;If however, you are testing what happens when 250 user all type the passwd command at the same time, then usermod.sam is not a good test.  The reason is that passwd has a particular code path to validate, encrypt and then update the password file. usermod.sam simply inserts whatever you type &lt;BR /&gt;into the password file. I'm not sure why such a load test would be necessary since it will be impossible to coordinate 250 people to type in their new password and hit enter at exactly the same time.&lt;/PASSWORD_TO_ENCRYPT&gt;</description>
      <pubDate>Mon, 11 Apr 2005 08:06:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521810#M220052</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-04-11T08:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Same password for different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521811#M220053</link>
      <description>Ravindar,&lt;BR /&gt;did the answers resolve your problem?&lt;BR /&gt;If not can you please update the thread.&lt;BR /&gt;&lt;BR /&gt;Also please read&lt;BR /&gt;(0 points for 15 responses)&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#34" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#34&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 14 Apr 2005 08:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/same-password-for-different-users/m-p/3521811#M220053</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-04-14T08:20:42Z</dc:date>
    </item>
  </channel>
</rss>

