<?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: Using Makekey and Usermod.sam in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431220#M355822</link>
    <description>Hi (again) Pete:&lt;BR /&gt;&lt;BR /&gt;OK, from the manpages for 'makekey' you can note that input is expected to be ten (10) characters long.&lt;BR /&gt;&lt;BR /&gt;Hence:&lt;BR /&gt;&lt;BR /&gt;# echo "passwillaa"|/usr/lib/makekey&lt;BR /&gt;&lt;BR /&gt;...works; as does:&lt;BR /&gt;&lt;BR /&gt;# echo "passwilla "|/usr/lib/makekey&lt;BR /&gt;&lt;BR /&gt;...but "not":&lt;BR /&gt;&lt;BR /&gt;# echo "passwilla"|/usr/lib/makekey&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 02 Jun 2009 17:14:05 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2009-06-02T17:14:05Z</dc:date>
    <item>
      <title>Using Makekey and Usermod.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431217#M355819</link>
      <description>I'm trying to create a script that I can use to change a users' password using command line arguements. I was using makekey to generate an encrypted password, but I'm running into problems with some of the encrypted passwords. When makekey returns something like the following is works:&lt;BR /&gt;&lt;BR /&gt;# echo passwillaa | /usr/lib/makekey&lt;BR /&gt;aadfnZyCsuaF.&lt;BR /&gt;&lt;BR /&gt;but other times it will return something with like the following.&lt;BR /&gt;x&lt;BR /&gt;3RmwumSorhg&lt;BR /&gt;&lt;BR /&gt;I was taking the encrypted password and using it in the usermod.sam command as follows:&lt;BR /&gt;&lt;BR /&gt;/usr/sam/lbin/usermod.sam -F -p `echo passwillaa | /usr/lib/makekey` username&lt;BR /&gt;&lt;BR /&gt;It's working when I don't have the special character in there. How can I deal with this? Thanks in advance for your help.</description>
      <pubDate>Tue, 02 Jun 2009 13:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431217#M355819</guid>
      <dc:creator>Pete H_1</dc:creator>
      <dc:date>2009-06-02T13:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using Makekey and Usermod.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431218#M355820</link>
      <description>Hi Pete:&lt;BR /&gt;&lt;BR /&gt;# /usr/sam/lbin/usermod.sam -F -p "$(echo passwillaa|/usr/lib/makekey)" username&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Jun 2009 13:30:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431218#M355820</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-02T13:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Makekey and Usermod.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431219#M355821</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;JRF,&lt;BR /&gt;When I tried that the passwd entry, for that user, looked like:&lt;BR /&gt;&lt;BR /&gt;heidenp:a&lt;BR /&gt;JTxjqEpomkk:112:20:Peter Heiden,,,:/home/heidenp:/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I get a new line after the a and the account won't work.</description>
      <pubDate>Tue, 02 Jun 2009 16:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431219#M355821</guid>
      <dc:creator>Pete H_1</dc:creator>
      <dc:date>2009-06-02T16:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using Makekey and Usermod.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431220#M355822</link>
      <description>Hi (again) Pete:&lt;BR /&gt;&lt;BR /&gt;OK, from the manpages for 'makekey' you can note that input is expected to be ten (10) characters long.&lt;BR /&gt;&lt;BR /&gt;Hence:&lt;BR /&gt;&lt;BR /&gt;# echo "passwillaa"|/usr/lib/makekey&lt;BR /&gt;&lt;BR /&gt;...works; as does:&lt;BR /&gt;&lt;BR /&gt;# echo "passwilla "|/usr/lib/makekey&lt;BR /&gt;&lt;BR /&gt;...but "not":&lt;BR /&gt;&lt;BR /&gt;# echo "passwilla"|/usr/lib/makekey&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 02 Jun 2009 17:14:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431220#M355822</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-02T17:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using Makekey and Usermod.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431221#M355823</link>
      <description>&lt;BR /&gt;Ok, I just read that. So the makekey utility has restrictions that won't allow me to create what would be a valid password in HP UX? Is there another way for me to create an encrypted password?</description>
      <pubDate>Tue, 02 Jun 2009 17:57:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431221#M355823</guid>
      <dc:creator>Pete H_1</dc:creator>
      <dc:date>2009-06-02T17:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using Makekey and Usermod.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431222#M355824</link>
      <description>Hi (again) Pete:&lt;BR /&gt;&lt;BR /&gt;Is there another way for me to create an encrypted password?&lt;BR /&gt;&lt;BR /&gt;Yes, see my Perl script in this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1252591" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1252591&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 02 Jun 2009 18:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431222#M355824</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-02T18:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Makekey and Usermod.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431223#M355825</link>
      <description>&lt;BR /&gt;James,&lt;BR /&gt;Thank you VERY much. That worked great for me. We now have a script that will change both our application server password, as well as an Oracle password. Now I have to come up with a way of having this script run when a password, on the HP UX system, expires. I'm going to search through the forums, but if someone can point me in the right direction it would be much appreciated.</description>
      <pubDate>Wed, 03 Jun 2009 13:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/4431223#M355825</guid>
      <dc:creator>Pete H_1</dc:creator>
      <dc:date>2009-06-03T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Makekey and Usermod.sam</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/6094083#M484397</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested the same and its working fine in untrusted systems,but unfortunately its not working trusted systems..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please explain the reason what could be..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Mahboob&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2013 10:01:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-makekey-and-usermod-sam/m-p/6094083#M484397</guid>
      <dc:creator>MahboobEllath</dc:creator>
      <dc:date>2013-06-06T10:01:24Z</dc:date>
    </item>
  </channel>
</rss>

