Report forwarded to debian-bugs-dist@lists.debian.org, Christoph Lameter <clameter@debian.org>:
Bug#7614; Package poppassd.   debian-bugs-dist@lists.debian.orgChristoph Lameter <clameter@debian.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to "Eloy A. Paris" <peloy@ven.ra.rockwell.com>:
New bug report received and forwarded. Copy sent to Christoph Lameter <clameter@debian.org>.   "Eloy A. Paris" <peloy@ven.ra.rockwell.com>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at submit) by bugs.debian.org; 24 Feb 1997 16:34:03 +0000 Received: (qmail 31008 invoked from network); 24 Feb 1997 16:33:59 -0000 Received: from extfw.mke.ra.rockwell.com (firewall-user@192.94.123.11) by master.debian.org with SMTP; 24 Feb 1997 16:33:59 -0000 Received: by extfw.mke.ra.rockwell.com; id KAA08869; Mon, 24 Feb 1997 10:26:53 -0600 Received: from relay1.ra.rockwell.com(130.151.99.229) by extfw.mke.ra.rockwell.com via smap (3.2) id xma008771; Mon, 24 Feb 97 10:25:57 -0600 Received: (from daemon@localhost) by relay1.ra.rockwell.com (8.8.2/8.8.2) id KAA27106 for submit/rbbx@bugs.debian.org; Mon, 24 Feb 1997 10:24:18 -0600 (CST) Received: from zeus.ven.ra.rockwell.com (root@zeus.ven.ra.rockwell.com [130.151.17.154]) by relay1.ra.rockwell.com (8.8.2/8.8.2) with ESMTP id KAA27092 for ; Mon, 24 Feb 1997 10:24:13 -0600 (CST) Received: from pegasus.ven.ra.rockwell.com (pegasus.ven.ra.rockwell.com [130.151.17.156]) by zeus.ven.ra.rockwell.com (8.8.5/8.8.5) with SMTP id MAA17674 for ; Mon, 24 Feb 1997 12:27:47 -0400 Message-Id: <3.0.32.19970224122541.006a22d8@zeus.ven.ra.rockwell.com> X-Sender: eparis@zeus.ven.ra.rockwell.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Mon, 24 Feb 1997 12:25:43 -0400 To: submit@bugs.debian.org From: "Eloy A. Paris" Subject: passwd program hangs when invoked by poppassd Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Package: poppassd Version: 1.2-4 To get poppassd working under Debian 1.2, I had to change the P2 string in line 184 of poppassd.c from: "enter new password: " to: "changing password for *\nenter new password: " This fixes the problem of getting the poppassd program hung while waiting for passwd to finish execution (passwd hangs forever waiting for "enter new password: " because it receives "changing password for *\nenter new password: " instead.) Finally, there are problems when the user types an invalid password (less than 6 chars. or without both numbers and letters). To solve this I execute the passwd command with the -o option (I pass the extra option "-o" to the execl() function call), to force any password typed to be valid. I do not know how to fix poppassd to work without doing this. The problem seems to be that the passwd program is too picky and behaves very interactively (too much, I would say.) I am using Debian 1.2 with kernel 2.0.29. Regards, Eloy.- -- Eloy A. Paris Information Technology Department Rockwell Automation de Venezuela Telephone: +58-2-9432311 Fax: +58-2-9431645 Cel.: +58-16-234700 "Where does this path lead?" said Alice "Depends on where you want to go." Said the cat ("Alice in Wonderland", by Lewis Carroll.)