From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 23:24:37 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 AB44E16A405 for ; Tue, 3 Apr 2007 23:24:37 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1C813C487 for ; Tue, 3 Apr 2007 23:24:37 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so14945ana for ; Tue, 03 Apr 2007 16:24:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=HJDb9vCWRkcjra85gWQL2WarweC57OlggCi6XSbv//Drds1Xf03XwXYQg3mhvRk+ysLIUoLzgUaYUVkYHsrrAdIKN24xsgyIzq6BkyuQm5Gy9OUgvBj1tTM064GB7d5SFyhN1MWcX51MSXKyuIbkKdCmD11xPJG4lEEWJM6BsgA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fmYp7tRlVj835jFORXX/Hnka6Q9W4ZMLHjHrO8xGxGaGAwVRanuM671r/pfKZfbXVk8/a431K88zw4hFAML49UfimaaHHOrJ9r7br4VJfl7ZfD5N0m94uBHa2M9CoUbEmlytcJI3s7Gx8Za1YjP67n+cDBE+4RZ9DnImEad/sPk= Received: by 10.100.9.19 with SMTP id 19mr6446ani.1175641043111; Tue, 03 Apr 2007 15:57:23 -0700 (PDT) Received: by 10.100.106.3 with HTTP; Tue, 3 Apr 2007 15:57:23 -0700 (PDT) Message-ID: Date: Tue, 3 Apr 2007 19:57:23 -0300 From: Agus To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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:24:37 -0000 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..... thanks a lot...