From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 23:49:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 269A316A407 for ; Tue, 3 Apr 2007 23:49:33 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id D4C5513C484 for ; Tue, 3 Apr 2007 23:49:32 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.8/8.13.1) with ESMTP id l33NnTPP073272; Tue, 3 Apr 2007 18:49:30 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4612E800.3010408@daleco.biz> Date: Tue, 03 Apr 2007 18:49:20 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Agus References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: Non Interactive passwd change via script.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 23:49:33 -0000 Agus wrote: > Hi everybody.... > its been a few days now, since im trying to do a tcsh script to automatize > the process of creating users in my system.... > Users register via web, and info is saved in a MySQL DB and in a file. the > script reads from the file and begins adding users with pw. > but im stuck on how to create the password for the users. the only solution > that worked was the use of expect, but it consumes a lot of resources > (7.8%System). Now that isnt a problem cause the users are few. but if > it has to > add a lot of users?? it will kill my server.... > > any hints will be apreciated..... pw(8) ?? > thanks a lot... You're welcome ;-) Kevin Kinsey -- Good news from afar can bring you a welcome visitor.