From owner-freebsd-questions Wed Aug 22 18:17:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dell.dannyland.org (dsl092-007-150.sfo1.dsl.speakeasy.net [66.92.7.150]) by hub.freebsd.org (Postfix) with ESMTP id 3744937B407 for ; Wed, 22 Aug 2001 18:17:09 -0700 (PDT) (envelope-from dannyman@toldme.com) Received: by dell.dannyland.org (Postfix, from userid 1001) id AEB805C85; Wed, 22 Aug 2001 18:17:23 -0700 (PDT) Date: Wed, 22 Aug 2001 18:17:23 -0700 From: dannyman To: Tony Cc: freebsd-questions@freebsd.org Subject: Re: Change user password. Message-ID: <20010822181723.Y40894@toldme.com> References: <200108230115.SAA23425@idk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108230115.SAA23425@idk.com>; from tony@idk.com on Wed, Aug 22, 2001 at 06:15:34PM -0700 X-Loop: djhoward@uiuc.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 22, 2001 at 06:15:34PM -0700, Tony wrote: > Is there a C function that will change a user's password? No. Check out pw(8). You could easily popen() pw -h 0 ... -danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message