Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 1999 00:08:14 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        Mark Lehrer <mark@knm.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /usr/bin/passwd question
Message-ID:  <Pine.BSF.3.96.990117000604.23201I-100000@java.dpcsys.com>
In-Reply-To: <199901170125.UAA07905@home.knm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990117000604.23201I-100000>