From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079034715514.tru64-unix-managers.marc@archive.invalid> From: Dave Date: Mon, 11 Jan 1999 20:38:09 +0000 To: tru64-unix-managers Subject: Help with making a new poppassd.c that works with NIS X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079034715514 Since no one seems to be using poppassd with NIS, I have tryed to modify one myself. Question: Is there a tool that I can use to see where the poppassd process is failing? I think the problem is when poppassd tries to execl the /usr/bin/yppasswd program, but I can not be sure. I have already modifyed the poppassd.c file: Changed all of the /bin/passwd entries to /usr/bin/yppasswd. Changed the expected strings to match the exact results of running yppasswd as a typical user. This is a dialog from a workstation to the poppassd server: killroy{root}96: telnet techserv2 106 Trying 192.9.207.19... Connected to techserv2. Escape character is '^]'. 200 poppassd v1.2c hello, who are you? user jblow 200 your password please. pass wgg5th45 200 your new password please. newpass wgg5th45 500 Unable to change password. Connection closed by foreign host. killroy{root}97: Now, jblow does exist in the NIS passwd file, and their password really is wgg5th45. And when I check the poppassd.log file, all it says is: Jan 11 12:20:54 techserv2 poppassd[31192]: failed attempt by jblow It doesn't seem to matter what user I use (real or not), and it doesn't seem to matter what password I enter (real, duplicate, or fake). There are no other error messages I can find.