<?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 Changes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260391#M176897</link>
    <description>I have one query to steven and a little reassurance to kisore.&lt;BR /&gt;&lt;BR /&gt;Steven: &lt;BR /&gt;&lt;BR /&gt;    I have already tried the here statement solution(i mean &amp;lt;&lt;EOF .....="" eof=""&gt;&lt;/EOF&gt;&lt;BR /&gt;&lt;BR /&gt;nandan kisore:&lt;BR /&gt;&lt;BR /&gt;      You can try what steven has suggested.Though i'am not 100% sure of the desired result.I will work on system calls using C (pipe,fork,dup) ,basically try to work on standard file descriptions.I doubt i can comeup with a solution,but,I strongly feel its worth a shot.If it works i will get back to you.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Senthil</description>
    <pubDate>Wed, 28 Apr 2004 06:37:26 GMT</pubDate>
    <dc:creator>Senthil Kumar .A_1</dc:creator>
    <dc:date>2004-04-28T06:37:26Z</dc:date>
    <item>
      <title>Password Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260386#M176892</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;    I am trying to figure out how I can change my indivdual password on different boxes. The change is only for my user ID. Expect is not available so I cannot use expect. Anything with Perl or Unix shell script. I should be able to give the box name , login id , my old password and new password. This should then go ahead and change the password at the remote box.&lt;BR /&gt;Something like this...&lt;BR /&gt;&lt;BR /&gt;changepassword &lt;BOX name=""&gt; &lt;LOGIN id=""&gt; &lt;OLD passwd=""&gt; &lt;NEW passwd=""&gt;.&lt;BR /&gt;&lt;BR /&gt;Thanks for any help.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards&lt;BR /&gt;Nand Kishore S&lt;/NEW&gt;&lt;/OLD&gt;&lt;/LOGIN&gt;&lt;/BOX&gt;</description>
      <pubDate>Tue, 27 Apr 2004 09:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260386#M176892</guid>
      <dc:creator>Nand Kishore Sagi</dc:creator>
      <dc:date>2004-04-27T09:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Password Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260387#M176893</link>
      <description>I am going to assume that you are not a root user.  Without the use of any of the above scripting languages, I dont believe that what you want to do is avaliable to non root users.  You can log into the box and type passwd &lt;ENTER&gt; which will prompt you to change your password, but there is no remote utility for doing this, that I am aware of.  If there is something Like this avaliable, i look forward to hearing about bout it.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Scott Palmer&lt;/ENTER&gt;</description>
      <pubDate>Tue, 27 Apr 2004 09:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260387#M176893</guid>
      <dc:creator>Scott Palmer_1</dc:creator>
      <dc:date>2004-04-27T09:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Password Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260388#M176894</link>
      <description>Though not secure&lt;BR /&gt;&lt;BR /&gt;# changepassword&lt;BR /&gt;&lt;BR /&gt;ssh root@$1 "/usr/contrib/bin/changepw $2 $3 $4"&lt;BR /&gt;&lt;BR /&gt;on the target box&lt;BR /&gt;&lt;BR /&gt;changepw&lt;BR /&gt;&lt;BR /&gt;passwd $1 &amp;lt;&amp;lt; EOF&lt;BR /&gt;$3&lt;BR /&gt;$3&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;note that the target script has the $ variables one less than the original script because a script is calling a script.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2004 09:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260388#M176894</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-04-27T09:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Password Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260389#M176895</link>
      <description>If you enable remsh/rlogin for yourself, this can be done. But I would rather advise the use of expect etc for this.&lt;BR /&gt;Enable rlogin/remsh - .rhosts file.&lt;BR /&gt;&lt;BR /&gt;The crude method could as follows. &lt;BR /&gt;Beware this echoes the password in clear text.&lt;BR /&gt;&lt;BR /&gt;remsh host "/usr/sam/lbin/usermod.sam -p "`echo 1234abcd|/usr/lbin/makekey`" user_name&lt;BR /&gt;&lt;BR /&gt;Do this for all hosts you want. You password is "1234abcd"&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 27 Apr 2004 09:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260389#M176895</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-04-27T09:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Password Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260390#M176896</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;   You are right. I am not root. Also I dont have expect installed on the box but I have access to C , Perl and normal shells are always available.&lt;BR /&gt;&lt;BR /&gt;Wanted to know if anything is possible with these langauges.&lt;BR /&gt;&lt;BR /&gt;Thanks for the info.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards&lt;BR /&gt;Nand Kishore S</description>
      <pubDate>Tue, 27 Apr 2004 10:19:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260390#M176896</guid>
      <dc:creator>Nand Kishore Sagi</dc:creator>
      <dc:date>2004-04-27T10:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Password Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260391#M176897</link>
      <description>I have one query to steven and a little reassurance to kisore.&lt;BR /&gt;&lt;BR /&gt;Steven: &lt;BR /&gt;&lt;BR /&gt;    I have already tried the here statement solution(i mean &amp;lt;&lt;EOF .....="" eof=""&gt;&lt;/EOF&gt;&lt;BR /&gt;&lt;BR /&gt;nandan kisore:&lt;BR /&gt;&lt;BR /&gt;      You can try what steven has suggested.Though i'am not 100% sure of the desired result.I will work on system calls using C (pipe,fork,dup) ,basically try to work on standard file descriptions.I doubt i can comeup with a solution,but,I strongly feel its worth a shot.If it works i will get back to you.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Senthil</description>
      <pubDate>Wed, 28 Apr 2004 06:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260391#M176897</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2004-04-28T06:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Password Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260392#M176898</link>
      <description>Talk to your System Administrators about converting your systems to NIS+. That way you change it once for ALL servers that you have access to. If your SA's are good, they may be able to link NIS+ with LDAP (with hooks to AD [active dirt - I mean active directory]) and have an enterprise login scheme.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 28 Apr 2004 06:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260392#M176898</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2004-04-28T06:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Password Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260393#M176899</link>
      <description>hello Nand Kishore,&lt;BR /&gt;&lt;BR /&gt;      Eureka,yes thats the word i require to express my excitment.I have used some system calls in my c program &amp;amp; with appropiate manupulation of file descriptor links with the help of pipe(),fork(),dup() and using execl() call to execute the required executable, i was successful in issuing the my custom made command to execute successfully with the passwords given to the it at the command prompt itself.&lt;BR /&gt;&lt;BR /&gt;     Now i understand that u do not have root permission.But i assume that u have login/password for the remote machines.In that case you can execute the command i give you with the help of remsh command.Firstly I need some details from you to complete the program.&lt;BR /&gt;&lt;BR /&gt;        1)model of your servers.(model command).&lt;BR /&gt;        2)Type of executable.especially your /usr/bin/passwd file .run "file /usr/bin/passwd".&lt;BR /&gt;         If you can furnish these details I will compile the program that can be run on your servers.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Senthil</description>
      <pubDate>Wed, 28 Apr 2004 12:36:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260393#M176899</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2004-04-28T12:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Password Changes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260394#M176900</link>
      <description>Senthil, try "ssh -n", perhaps there wont be connection problems.</description>
      <pubDate>Thu, 29 Apr 2004 02:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/password-changes/m-p/3260394#M176900</guid>
      <dc:creator>hein coulier</dc:creator>
      <dc:date>2004-04-29T02:09:26Z</dc:date>
    </item>
  </channel>
</rss>

