From owner-freebsd-questions Wed Mar 12 06:07:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA13178 for questions-outgoing; Wed, 12 Mar 1997 06:07:25 -0800 (PST) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA13169 for ; Wed, 12 Mar 1997 06:07:19 -0800 (PST) Received: from time.cdrom.com (jkh@localhost [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id GAA00519; Wed, 12 Mar 1997 06:07:27 -0800 (PST) To: Gianmarco Giovannelli cc: questions@freebsd.org Subject: Re: poppassd doesn't let to change the password In-reply-to: Your message of "Thu, 13 Mar 1997 09:54:27 +0100." <3.0.1.32.19970313095427.007715ac@scotty.masternet.it> Date: Wed, 12 Mar 1997 06:07:27 -0800 Message-ID: <514.858175647@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I have installed the poppassd 4.0 on a 2.2 GAMMA box with popper 2.2 running. > > I follow every instructions on the readme file, but every user that try to > change his password receive the error from eudora : Sorry I couldn't > change your password etc etc... This was already reported recently in hackers (and, to be honest, I've even known about it myself for a few months - I tried to get poppassd running back in January and ran into this same problem. The issue is that `passwd' is being run by poppassd at the end of a pipe, with poppassd trying to send the new password down the pipe to it. This part actually works, and the password file is modified, but then the passwd program never exits (or exits with an error status - I can't remember which) and so poppassd returns an error. In other words, the communication between poppassd and passwd(1) has broken somehow (and I'm told it used to work before 2.2) so somebody needs to fix it. I didn't have time, myself, and if I were to try and rewrite this thing I'd simply steal the code out of passwd(1) and try to make poppassd stand-alone. :) Jordan