From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 09:48:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5ADBD16A4DF for ; Wed, 2 Aug 2006 09:48:51 +0000 (UTC) (envelope-from bloodyveins@gmail.com) Received: from hu-out-0102.google.com (hu-out-0102.google.com [72.14.214.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DF6B43D49 for ; Wed, 2 Aug 2006 09:48:49 +0000 (GMT) (envelope-from bloodyveins@gmail.com) Received: by hu-out-0102.google.com with SMTP id 27so1630371hub for ; Wed, 02 Aug 2006 02:48:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dUmC7vMLDqRI9n5mYpv9oKBT4Y6cOQ2iTCUDWwwZ0LmNKzSU1zrOQ/GrhywnprlLz5fwQO1pSlaoXw1eGwTI4xW43UsDlXodsmvELpHezw+ZVbI/KbZE2j7FstYZPp736XmJJ0Wgrt4l30kzhxESt+04vsI1Cal3S1Jijc5bqqc= Received: by 10.67.22.2 with SMTP id z2mr800255ugi; Wed, 02 Aug 2006 02:48:48 -0700 (PDT) Received: by 10.67.89.13 with HTTP; Wed, 2 Aug 2006 02:48:48 -0700 (PDT) Message-ID: <58ebaa710608020248r1cfb7915t4caa0f6fcdbecb84@mail.gmail.com> Date: Wed, 2 Aug 2006 16:48:48 +0700 From: "Mike Fern" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Changing user password from command line 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: Wed, 02 Aug 2006 09:48:51 -0000 Dear all, Does anybody know a program which is able to change user password from command line? We can add a user using single line pw (pw useradd), but i need ability to set the password also, instead of old command "passwd user" and then writing to stdin. Any ideas, suggestion?