<?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: NIS password update problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893411#M103441</link>
    <description>This is because your path is not properly setup.&lt;BR /&gt;&lt;BR /&gt;echo $PATH should show that /bin is before /usr/bin with the root user.&lt;BR /&gt;&lt;BR /&gt;If the path was setup properly, root would run the binary /bin/passwd and no old NIS password would be required.  &lt;BR /&gt;&lt;BR /&gt;root is obviously running /usr/bin/passwd which will call yppasswd on detection of NIS.&lt;BR /&gt;&lt;BR /&gt;To test this, try the following:&lt;BR /&gt;&lt;BR /&gt;as root&lt;BR /&gt;&lt;BR /&gt;/bin/passwd &lt;SOME_USER&gt;&lt;BR /&gt;&lt;BR /&gt;/usr/bin/passwd &lt;SOME_USER&gt;&lt;BR /&gt;&lt;BR /&gt;/usr/bin/yppasswd &lt;SOME_USER&gt;&lt;BR /&gt;&lt;BR /&gt;If you need to keep your path setup with /usr/bin ahead of /bin, then use the absolute path of the passwd program root should be using when changing users passwords.&lt;BR /&gt;E.G.&lt;BR /&gt;/bin/passwd &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon&lt;/USER&gt;&lt;/SOME_USER&gt;&lt;/SOME_USER&gt;&lt;/SOME_USER&gt;</description>
    <pubDate>Thu, 30 Jan 2003 21:35:09 GMT</pubDate>
    <dc:creator>Shannon Petry</dc:creator>
    <dc:date>2003-01-30T21:35:09Z</dc:date>
    <item>
      <title>NIS password update problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893410#M103440</link>
      <description>I'm having a problem setting user passwords on my NIS master.  Whenever I do &lt;BR /&gt;&lt;BR /&gt;passwd &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;it comes back and asks me for the Old NIS Password.  As root on the master, it should let me do this without asking for the old password.  This has worked correctly for a long time and just started to act up.  &lt;BR /&gt;&lt;BR /&gt;Any ideas would be greatly appreciated.  The NIS server is running HPUX 10.20.&lt;/USER&gt;</description>
      <pubDate>Thu, 30 Jan 2003 21:11:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893410#M103440</guid>
      <dc:creator>Jay Kianos</dc:creator>
      <dc:date>2003-01-30T21:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password update problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893411#M103441</link>
      <description>This is because your path is not properly setup.&lt;BR /&gt;&lt;BR /&gt;echo $PATH should show that /bin is before /usr/bin with the root user.&lt;BR /&gt;&lt;BR /&gt;If the path was setup properly, root would run the binary /bin/passwd and no old NIS password would be required.  &lt;BR /&gt;&lt;BR /&gt;root is obviously running /usr/bin/passwd which will call yppasswd on detection of NIS.&lt;BR /&gt;&lt;BR /&gt;To test this, try the following:&lt;BR /&gt;&lt;BR /&gt;as root&lt;BR /&gt;&lt;BR /&gt;/bin/passwd &lt;SOME_USER&gt;&lt;BR /&gt;&lt;BR /&gt;/usr/bin/passwd &lt;SOME_USER&gt;&lt;BR /&gt;&lt;BR /&gt;/usr/bin/yppasswd &lt;SOME_USER&gt;&lt;BR /&gt;&lt;BR /&gt;If you need to keep your path setup with /usr/bin ahead of /bin, then use the absolute path of the passwd program root should be using when changing users passwords.&lt;BR /&gt;E.G.&lt;BR /&gt;/bin/passwd &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon&lt;/USER&gt;&lt;/SOME_USER&gt;&lt;/SOME_USER&gt;&lt;/SOME_USER&gt;</description>
      <pubDate>Thu, 30 Jan 2003 21:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893411#M103441</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-01-30T21:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password update problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893412#M103442</link>
      <description>No luck on using /bin/passwd either.  It still asks for the old NIS passwd.</description>
      <pubDate>Thu, 30 Jan 2003 21:55:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893412#M103442</guid>
      <dc:creator>Jay Kianos</dc:creator>
      <dc:date>2003-01-30T21:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password update problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893413#M103443</link>
      <description>My bad, in haste I wrote /bin for root instead of /sbin.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root's path should have /sbin first.&lt;BR /&gt;&lt;BR /&gt;run /sbin/passwd and your problem will go away.&lt;BR /&gt;&lt;BR /&gt;Sorry for the oops!&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 30 Jan 2003 22:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893413#M103443</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-01-30T22:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password update problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893414#M103444</link>
      <description>Nope - no luck with /sbin/passwd either, still asking for Old NIS password.</description>
      <pubDate>Thu, 30 Jan 2003 22:07:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893414#M103444</guid>
      <dc:creator>Jay Kianos</dc:creator>
      <dc:date>2003-01-30T22:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password update problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893415#M103445</link>
      <description>Check the sizes then of /sbin/passwd and /bin/passwd.  They should be very different.&lt;BR /&gt;&lt;BR /&gt;ll /sbin/passwd &lt;BR /&gt;-r-sr-xr-x   1 root       bin         229376 Nov  7  1997 /sbin/passwd&lt;BR /&gt;&lt;BR /&gt;ll /usr/bin/passwd&lt;BR /&gt;-r-sr-xr-x   5 root       bin          49152 Apr  9  1998 /usr/bin/passwd&lt;BR /&gt;&lt;BR /&gt;The size of /bin/passwd should match the one in /usr/bin.&lt;BR /&gt;&lt;BR /&gt;/sbin/passwd is a statically compiled program, hence much larger.&lt;BR /&gt;&lt;BR /&gt;Permissions as root should not matter.&lt;BR /&gt;&lt;BR /&gt;I wonder if someone tampered with your system?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 30 Jan 2003 22:12:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893415#M103445</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-01-30T22:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: NIS password update problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893416#M103446</link>
      <description>This helped me out ..please assign more points  :)</description>
      <pubDate>Thu, 10 Apr 2003 16:08:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-password-update-problem/m-p/2893416#M103446</guid>
      <dc:creator>Jack Magilsen</dc:creator>
      <dc:date>2003-04-10T16:08:04Z</dc:date>
    </item>
  </channel>
</rss>

