<?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: Cant Change Passwd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575025#M594497</link>
    <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Did you try the "ypmake" rather than the "make"?&lt;BR /&gt;Is NIS ok in other aspects, i mean other than this problem, does everything seem ok? Also is the rpc.yppasswd daemon running?&lt;BR /&gt;&lt;BR /&gt;Since you are trying this on  the NIS server anyway, did you try "passwd -r files"&lt;BR /&gt;&lt;BR /&gt;-Ramesh</description>
    <pubDate>Tue, 04 Sep 2001 19:58:44 GMT</pubDate>
    <dc:creator>linuxfan</dc:creator>
    <dc:date>2001-09-04T19:58:44Z</dc:date>
    <item>
      <title>Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575019#M594491</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I'm in a NIS envionment and for some reason, am no longer able to change passwords using passwd, or yppasswd commands. This has worked in the past, but came in today and it was defunt.  Returns with the following error:&lt;BR /&gt;&lt;BR /&gt;[user1@a_server]% passwd&lt;BR /&gt;Changing password for user1&lt;BR /&gt;Changing NIS password for user 'user1'&lt;BR /&gt;Old password: &lt;BR /&gt;New password: &lt;BR /&gt;Re-enter new password: &lt;BR /&gt;yppasswd: attempting to change password on NIS master a_server&lt;BR /&gt;yppasswd: couldn't change NIS password for 'user1'--problem with NIS maps on server a_server&lt;BR /&gt;[user1@a_server]% &lt;BR /&gt;&lt;BR /&gt;Like I said, this worked a couple days ago, but not now. I can manually vi the passwd file and make it and it works, I just cant change using passwd or yppasswd anymore.. Arghh!&lt;BR /&gt;&lt;BR /&gt;Any and all help appreciated.&lt;BR /&gt;&lt;BR /&gt;PEte</description>
      <pubDate>Tue, 04 Sep 2001 18:52:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575019#M594491</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-04T18:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575020#M594492</link>
      <description>Have the permissions changed, or has anything else changed on your NIS server?  Something had to have changed somewhere along the lines, it'll just be a matter of figuring out what.</description>
      <pubDate>Tue, 04 Sep 2001 18:54:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575020#M594492</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-09-04T18:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575021#M594493</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;I'm surprised that you are trying to change a passwd using vi. My first cut at this would be to login as root on the NIS server and do a pwck. If the passwd file itself is corrupt then that could cause all your problems. If pwck reports that all is well, I would issue a passwd command on the NIS server. If that is ok, cd to /var/yp and do a make. You should then see any errors that remain.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Tue, 04 Sep 2001 18:59:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575021#M594493</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-04T18:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575022#M594494</link>
      <description>Looking through old backups, permissions / ownership of the password map / file is the same as when it used to work (last week).  Any other thoughts?? AFAIK, nothing has 'intentionally' changed over the last few days... (no patches, upgrades, etc...)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Sep 2001 19:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575022#M594494</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-04T19:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575023#M594495</link>
      <description>My vi on the passwd file (/var/yp/src/passwd) was simply to temporarily remove my passwd so there is a change, so I can run make (make doesn't run if there is no change from the current), which was simply a test to see if it was able to run make, and it was, revealing no errors. Running pwck doesn't reveal much, (a couple locked accounts with no home dirs, which is the norm here), and nothing more...&lt;BR /&gt;&lt;BR /&gt;The machine I'm on, (the NIS Master) was just rebooted in an attempt to clear the problem, but that yeilded neg results as well.. &lt;BR /&gt;&lt;BR /&gt;Any thoughts appreciated.</description>
      <pubDate>Tue, 04 Sep 2001 19:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575023#M594495</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-04T19:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575024#M594496</link>
      <description>Are you trying to execute passwd or yppasswd on the NIS server or an NIS client?  If on the client, have you tried stopping and restarting the NIS client daemons (/sbin/init.d/nis.client stop and then start)?  &lt;BR /&gt;&lt;BR /&gt;If you haven't tried it on the server, can you give it a shot and let us know what happens?</description>
      <pubDate>Tue, 04 Sep 2001 19:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575024#M594496</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-09-04T19:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575025#M594497</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Did you try the "ypmake" rather than the "make"?&lt;BR /&gt;Is NIS ok in other aspects, i mean other than this problem, does everything seem ok? Also is the rpc.yppasswd daemon running?&lt;BR /&gt;&lt;BR /&gt;Since you are trying this on  the NIS server anyway, did you try "passwd -r files"&lt;BR /&gt;&lt;BR /&gt;-Ramesh</description>
      <pubDate>Tue, 04 Sep 2001 19:58:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575025#M594497</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-04T19:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575026#M594498</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;I've tried passwd and yppasswd on both the NIS Master, and several clients; all failing with the same error message. Also, all other NIS functionallity seems to be running as per normal. &lt;BR /&gt;&lt;BR /&gt;Ramesh,&lt;BR /&gt;&lt;BR /&gt;Not sure about your -r files passwd switch. Man passwd (yppasswd) doesn't list that as valid on my 10.20 box. (It does on my Sun box though...) Also, the rpc.yppasswdd daemon is running.&lt;BR /&gt;&lt;BR /&gt;Further thoughts appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Sep 2001 20:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575026#M594498</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-04T20:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575027#M594499</link>
      <description>If passwd is failing on the NIS master then you do not have a yp problem but rather a problem with passwd itself. Again, do a pwck and that should pinpoint the problem. Passwd knows nothing about the yp side of the world.&lt;BR /&gt;Just so we are not overlooking the obvious, do a bdf and make sure that we are not dealing with full filesystems. &lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2001 20:27:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575027#M594499</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-04T20:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575028#M594500</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The errors are indicating a problem with the NIS maps.&lt;BR /&gt;&lt;BR /&gt;1. Did you run /usr/sbin/pwck&lt;BR /&gt;&lt;BR /&gt;2. touch your password file &lt;BR /&gt;"touch /etc/passwd "&lt;BR /&gt;3. and then run ypmake&lt;BR /&gt; "/var/run/ypmake"&lt;BR /&gt;&lt;BR /&gt;Do you see any errors when you run ypmake?&lt;BR /&gt;&lt;BR /&gt;-Ramesh</description>
      <pubDate>Tue, 04 Sep 2001 20:40:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575028#M594500</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-04T20:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575029#M594501</link>
      <description>pwck (on /etc/passwd) revealed the folloing:&lt;BR /&gt;&lt;BR /&gt;-uus:*:-24:-24:::&lt;BR /&gt;        Invalid UID&lt;BR /&gt;        Invalid GID&lt;BR /&gt;&lt;BR /&gt;+::-24:-24:::&lt;BR /&gt;        Invalid UID&lt;BR /&gt;        Invalid GID&lt;BR /&gt;&lt;BR /&gt;However, I'm unsure of how to interpret this...&lt;BR /&gt;&lt;BR /&gt;Could this be the culprit?&lt;BR /&gt;&lt;BR /&gt;(before i did pwck on the /var/yp/src/passwd file)&lt;BR /&gt;&lt;BR /&gt;As far as disk being full.. negative.. lots of space avail...&lt;BR /&gt;&lt;BR /&gt;Your thoughts on the pwck results appreciated...&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2001 21:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575029#M594501</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-04T21:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575030#M594502</link>
      <description>...also, touching /etc/passwd and running /var/yp/ypmake revealed no errors with the command completing with the message:&lt;BR /&gt;&lt;BR /&gt;ypmake complete: no errors encountered.&lt;BR /&gt;&lt;BR /&gt;pete</description>
      <pubDate>Tue, 04 Sep 2001 21:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575030#M594502</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-04T21:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575031#M594503</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Looks like you are using the passwd file /var/yp/src/passwd for the NIS maps, in which case do&lt;BR /&gt;&lt;BR /&gt;touch /var/yp/src/passwd&lt;BR /&gt;/var/yp/ypmake&lt;BR /&gt;&lt;BR /&gt;-Ramesh&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2001 21:21:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575031#M594503</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-04T21:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575032#M594504</link>
      <description>I see that you do things a little bit diffrently from the typical. On the NIS server, I almost always set PWFILE to /etc/passwd and have no '+' entries on the master. That makes the passwd command behave normally. In your case, to change a passwd when you don't know the passwd, you have to do a passwd -F /var/yp/src/passwd user and then do the ypmake. Normally the only negative uid is -2 group -24 for the NFS nobody entry.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2001 21:38:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575032#M594504</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-04T21:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575033#M594505</link>
      <description>I've removed the -uus entry from /etc/password and also changed the "-24" to "0" on the last line. I run pwck and it now comes back with no errors, however, I still cannot run passwd or yppasswd.... &lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 04 Sep 2001 22:01:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575033#M594505</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-04T22:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575034#M594506</link>
      <description>Peter,&lt;BR /&gt;&lt;BR /&gt;It could be that the passwd command got corrupted somehow.  Grab a backup tape from when it worked and pull off the /etc/passwd command (rename the current just to be safe).  Maybe that will fix things.  Maybe not, but it's a thought.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Wed, 05 Sep 2001 12:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575034#M594506</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2001-09-05T12:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cant Change Passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575035#M594507</link>
      <description>OK, I figured it out... firstly, Thanks to all who replied... at minimum, It was a learning experience. Anyway, the problem was the result of a in-house version of yppasswdd which generates two apparent lock files (the file names would not lead one to belive they are actual lock files) in two different locations. Once I removed the files and restarted inetd (inetd -c), all worked fine... Arghh! The error message from passwd/yppasswd sure didn't help steer me in the right direction.... Oh well, live and learn.&lt;BR /&gt;&lt;BR /&gt;Once again, thanks for all your feedback on this issue...&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 05 Sep 2001 14:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-passwd/m-p/2575035#M594507</guid>
      <dc:creator>Peter_17</dc:creator>
      <dc:date>2001-09-05T14:43:29Z</dc:date>
    </item>
  </channel>
</rss>

