From owner-freebsd-questions Thu Jan 7 19:11:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA19754 for freebsd-questions-outgoing; Thu, 7 Jan 1999 19:11:02 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from darwin.house.lan (ts2p31.wizvax.net [204.97.162.96]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA19733 for ; Thu, 7 Jan 1999 19:10:58 -0800 (PST) (envelope-from jaime@snowmoon.com) Received: from localhost (jaime@localhost) by darwin.house.lan (8.8.8/8.8.7) with ESMTP id WAA01614 for ; Thu, 7 Jan 1999 22:10:28 -0500 (EST) (envelope-from jaime@darwin.house.lan) Date: Thu, 7 Jan 1999 22:10:28 -0500 (EST) From: Jaime Reply-To: jaime@snowmoon.com To: freebsd-questions@FreeBSD.ORG Subject: Users changing passwords Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm almost done putting together a new mail/web/file/dhcp server for work. Its a FreeBSD 3.0-RELEASE system (needed the 16 character usernames) with an assortment of goodies. But I've hit a snag. Most of the people who I have to support will never allow themselves to learn enough to use Pine, passwd, du, and so forth. As a result, I'm making a collection of Intranet style CGIs, using IMAP, etc. and keeping them out of telnet. But I have no way to allow them to change their passwords. I did find a CGI in the mailing list archives, but it won't work correctly. It uses Perl5 and accesses a poppassd process over a network socket. However, as soon as it makes a call to cgi-lib.pl, it stops sending output to the server. (STDOUT should go to apache, so that apache can hand it off to the web browser.) As far as I can tell, its not producing an error. I must assume, based on a tip in the apache FAQ, that STDOUT is being redirected to the wrong place. If I just stick cgi-lib.pl at the bottom of the script, it makes an error. The error is "Request to receive too much data: 73 bytes". So, my question is can someone either (1) tell me how to give my users the ability to change their password without giving them telnet or (2) tell me what I'm going wrong with the script found at: http://www.freebsd.org/cgi/getmsg.cgi?fetch=200807+207835+/user /local/www/db/text/1998/freebsd-questions /19981206.freebsd-questions The help is greatly appreciated. Thanks in advance. TIA, Jaime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message