From owner-freebsd-questions Sun Jan 17 21:30:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA18957 for freebsd-questions-outgoing; Sun, 17 Jan 1999 21:30:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA18951 for ; Sun, 17 Jan 1999 21:30:10 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id AAA11288; Mon, 18 Jan 1999 00:31:10 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199901180531.AAA11288@cc942873-a.ewndsr1.nj.home.com> Subject: Re: /usr/bin/passwd question In-Reply-To: <199901170125.UAA07905@home.knm.org> from Mark Lehrer at "Jan 16, 99 08:25:40 pm" To: mark@knm.org (Mark Lehrer) Date: Mon, 18 Jan 1999 00:31:10 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Lehrer wrote, > I am trying to write a CGI script to add users. What is the best way > to accomplish this? I notice that the standard passwd utility will > not read from stdin. Is there an easy way to do this from perl? Do not use 'passwd.' man pw HTH. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message