From owner-freebsd-questions Sun Jan 17 00:07:46 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA17382 for freebsd-questions-outgoing; Sun, 17 Jan 1999 00:07:46 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA17377 for ; Sun, 17 Jan 1999 00:07:41 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id AAA29785; Sun, 17 Jan 1999 00:08:14 -0800 (PST) Date: Sun, 17 Jan 1999 00:08:14 -0800 (PST) From: Dan Busarow To: Mark Lehrer cc: freebsd-questions@FreeBSD.ORG Subject: Re: /usr/bin/passwd question In-Reply-To: <199901170125.UAA07905@home.knm.org> 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 On Sat, 16 Jan 1999, 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? Read /usr/sbin/adduser and see how it does it. > Where would I find the source to the standard passwd utility? /usr/src/usr.bin/passwd ? Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message