<?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: passwd command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980144#M294261</link>
    <description>Ooops, I'm stupid: That should be "DON'T START MOVING SHARED LIBRARIES".</description>
    <pubDate>Thu, 12 Apr 2007 18:22:10 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-04-12T18:22:10Z</dc:date>
    <item>
      <title>passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980125#M294242</link>
      <description>passwd command chop home and shell information in /etc/passwd file, cuase user(s) can not log in due to "NO SHELL".&lt;BR /&gt;&lt;BR /&gt;Thanks for any help and reply.&lt;BR /&gt;&lt;BR /&gt;Tammy</description>
      <pubDate>Thu, 12 Apr 2007 10:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980125#M294242</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2007-04-12T10:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980126#M294243</link>
      <description>The passwd command did not do this. All you need to do is edit /etc/passwd using vi and insert the home and sh values for the users.&lt;BR /&gt;&lt;BR /&gt;It would help if you explained how this happened --- and I'm sure that you made backup copies of /etc/passwd and the tcb database (if applicable) before any scripts were run.</description>
      <pubDate>Thu, 12 Apr 2007 10:10:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980126#M294243</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-12T10:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980127#M294244</link>
      <description>Tammy,&lt;BR /&gt;you can use vipw to edit the /etc/password or use SAM.&lt;BR /&gt;&lt;BR /&gt;That is if I have understood the problem correctly. If not, can you please give more details.&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2007 10:14:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980127#M294244</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-04-12T10:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980128#M294245</link>
      <description>I have been running passwd command to change users' password w/o issue.&lt;BR /&gt;&lt;BR /&gt;This is the first time that I see passwd command remove users' home directory and log in shell in /etc/passwd file.&lt;BR /&gt;&lt;BR /&gt;I agree passwd command should not remove users' home directory and log in shell. But it does indeed happen to one of our hpux systems.&lt;BR /&gt;I even run check sum on /usr/bin/passwd with other working system. The numbers are the same...</description>
      <pubDate>Thu, 12 Apr 2007 11:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980128#M294245</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2007-04-12T11:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980129#M294246</link>
      <description>On the system with problems -- are you doing a '/usr/bin/passwd' or are you just typing 'passwd' at the prompt?  If you have just been using 'passwd' try explicitly using /usr/bin/passwd.  Also, if you were using 'passwd' only, do a 'whence -v passwd' to see what command is actually run.&lt;BR /&gt;&lt;BR /&gt;If it does not say 'passwd is /usr/bin/passwd' and instead gives some other path or script name, then you need to investigate that.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2007 11:15:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980129#M294246</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-04-12T11:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980130#M294247</link>
      <description>I run /usr/bin/passwd with same result.&lt;BR /&gt;Below are the last 2 lines after I run /usr/bin/passwd &lt;BR /&gt;&lt;BR /&gt;a135212:RRISoffAhbh8.:108:0::21:Morris~Wen,,,&lt;BR /&gt;a324683:L0.MuP7a2bM4.:107:0::21:Agus Soejono&lt;BR /&gt;&lt;BR /&gt;Tks...</description>
      <pubDate>Thu, 12 Apr 2007 11:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980130#M294247</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2007-04-12T11:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980131#M294248</link>
      <description>Fix those 2 lines and then try running a pwck and see what it returns.  It appears that those 2 lines are not correct.&lt;BR /&gt;&lt;BR /&gt;a135212:RRISoffAhbh8.:108:0::21:Morris~Wen,,,&lt;BR /&gt;a324683:L0.MuP7a2bM4.:107:0::21:Agus Soejono&lt;BR /&gt;&lt;BR /&gt;The format of the lines should be:&lt;BR /&gt;&lt;BR /&gt;user:password:uid:gid:Comments:/home/dir:/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;The 2 lines you mention have the requisite number of fields, but the last 2 are wrong.&lt;BR /&gt;&lt;BR /&gt;The '21' is where the home dir should be and the names are where the shell should be.  &lt;BR /&gt;&lt;BR /&gt;Let pwck check the password file, fix any errors it reports and try again.</description>
      <pubDate>Thu, 12 Apr 2007 11:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980131#M294248</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-04-12T11:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980132#M294249</link>
      <description>It is not only last 2 lines in /etc/passwd.&lt;BR /&gt;It is for all users in /etc/passwd file after I run /usr/bin/passwd. I just post the last 2 lines....</description>
      <pubDate>Thu, 12 Apr 2007 13:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980132#M294249</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2007-04-12T13:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980133#M294250</link>
      <description>Have you run pwck on the /etc/passwd file?  That is the first thing to do.&lt;BR /&gt;&lt;BR /&gt;Fix the problems that it mentions and then see what happens from there.</description>
      <pubDate>Thu, 12 Apr 2007 13:51:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980133#M294250</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-04-12T13:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980134#M294251</link>
      <description>After run pwck and passwd again, still has the same result of /etc/passwd. The home directories and log in shell are gone....</description>
      <pubDate>Thu, 12 Apr 2007 14:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980134#M294251</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2007-04-12T14:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980135#M294252</link>
      <description>pwck does not repair any damage. You must do that manually using vi and repeat until pwck is clean. The entire file must be clean or unpredictable results can occur.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2007 14:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980135#M294252</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-12T14:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980136#M294253</link>
      <description>The /etc/passwd is correct, after I copy from good /etc/passwd. The problem is the /usr/bin/passwd command chop home directory and log in shell in /etc/passwd file, after I run passwd to change password.&lt;BR /&gt;&lt;BR /&gt;/usr/bin/passwd is not working correctly....</description>
      <pubDate>Thu, 12 Apr 2007 14:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980136#M294253</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2007-04-12T14:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980137#M294254</link>
      <description>I would like to see screen shots, or cut-and-paste output of:&lt;BR /&gt;&lt;BR /&gt;1) The /etc/passwd file BEFORE you execute the passwd command.&lt;BR /&gt;&lt;BR /&gt;2) The command line you are using when running passwd and any output (I don't care about the password you are actually typing in).&lt;BR /&gt;&lt;BR /&gt;3) The /etc/passwd file AFTER you execute the passwd command.&lt;BR /&gt;&lt;BR /&gt;Also, what version of HP-UX are you running?</description>
      <pubDate>Thu, 12 Apr 2007 14:54:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980137#M294254</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-04-12T14:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980138#M294255</link>
      <description>HPUX 11.11&lt;BR /&gt;&lt;BR /&gt;Before run passwd.&lt;BR /&gt;&lt;BR /&gt;a135212:RRISoffAhbh8.:108:21:Morris~Wen,,,:/home/a135212:/usr/bin/sh&lt;BR /&gt;a324683:kGy1op4KBYcoA:107:21:Agus Soejono:/home/a324683:/sbin/sh&lt;BR /&gt;server1 /etc # &lt;BR /&gt;&lt;BR /&gt;Now run /usr/bin/passwd &lt;BR /&gt;&lt;BR /&gt;server1 /etc # /usr/bin/passwd a324683&lt;BR /&gt;Changing password for a324683&lt;BR /&gt;New password: &lt;BR /&gt;Re-enter new password: &lt;BR /&gt;Passwd successfully changed&lt;BR /&gt;&lt;BR /&gt;After run /usr/bin/passwd&lt;BR /&gt;&lt;BR /&gt;a135212:RRISoffAhbh8.:108:0::21:Morris~Wen,,,&lt;BR /&gt;a324683:B9RrfWdZ6kLCU:107:0::21:Agus Soejono&lt;BR /&gt;$ &lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2007 15:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980138#M294255</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2007-04-12T15:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980139#M294256</link>
      <description>Patch PHCO_35250 does appear as though it could fix this; you must also install the dependencies.</description>
      <pubDate>Thu, 12 Apr 2007 15:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980139#M294256</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-12T15:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980140#M294257</link>
      <description>OK, this is officially very very strange.&lt;BR /&gt;&lt;BR /&gt;Do you have the latest passwd cumulative patch,  PHCO_33214, loaded?  If not you may try it.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_33214&amp;amp;sel={hpux:11.11,}&amp;amp;BC=main" target="_blank"&gt;http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_33214&amp;amp;sel={hpux:11.11,}&amp;amp;BC=main&lt;/A&gt;|search|&lt;BR /&gt;&lt;BR /&gt;What is the output of:&lt;BR /&gt;&lt;BR /&gt;# what /usr/bin/passwd</description>
      <pubDate>Thu, 12 Apr 2007 15:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980140#M294257</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-04-12T15:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980141#M294258</link>
      <description>$ what /usr/bin/passwd                                                  &lt;BR /&gt;/usr/bin/passwd:&lt;BR /&gt;         $Revision: @(#) all CUP11.11_BL2003_0517_1 PATCH_11.11 PHCO_29125&lt;BR /&gt;         Sat May 17 15:42:02 PDT 2003 $&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;I ran check sum  on /usr/bin/passwd and compare with other systems that has no problem. The check sum number comes out the same...&lt;BR /&gt;&lt;BR /&gt;I think passwd works before.&lt;BR /&gt;&lt;BR /&gt;Tks.</description>
      <pubDate>Thu, 12 Apr 2007 15:42:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980141#M294258</guid>
      <dc:creator>Tammy Liang</dc:creator>
      <dc:date>2007-04-12T15:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980142#M294259</link>
      <description>I would still suggest loading the latest passwd patch and the patch that Clay recommends.  It may be that there is something unique on this server that is causing you a problem.&lt;BR /&gt;&lt;BR /&gt;Are you using any sort of other directory service, like LDAP, NIS, NIS+, etc.?</description>
      <pubDate>Thu, 12 Apr 2007 16:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980142#M294259</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-04-12T16:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980143#M294260</link>
      <description>The cksum only means that part of the executable is the same; you have done nothing about shared libraries and that is what the patch I suggested does. Whatever you do, do start moving shared libraries across machines or you will have the IDB incredibly bogusified.</description>
      <pubDate>Thu, 12 Apr 2007 18:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980143#M294260</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-12T18:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: passwd command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980144#M294261</link>
      <description>Ooops, I'm stupid: That should be "DON'T START MOVING SHARED LIBRARIES".</description>
      <pubDate>Thu, 12 Apr 2007 18:22:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwd-command/m-p/3980144#M294261</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-12T18:22:10Z</dc:date>
    </item>
  </channel>
</rss>

