From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 12:53:24 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 6E99F16A4DE for ; Wed, 2 Aug 2006 12:53:24 +0000 (UTC) (envelope-from phoenix.lists@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACAC643D45 for ; Wed, 2 Aug 2006 12:53:23 +0000 (GMT) (envelope-from phoenix.lists@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so642613nfc for ; Wed, 02 Aug 2006 05:53:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:organization:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:message-id; b=GMlt7g2QEtykQhYUADyxQ8YOXIIabaN1D1n5qIOskfncpNhx0D2qv0y+kQ5oyetpXTxArVc4iM36r1Rsr/9KA2S0WaQFaujo7Ik3EpSYCLCf0xpw/9M9/R5zdCPch1QS6T9b3TsZkHMGUg8aPOaxt65DjkoOIQ05wpIul/sm9mo= Received: by 10.49.75.2 with SMTP id c2mr2076608nfl; Wed, 02 Aug 2006 05:53:22 -0700 (PDT) Received: from sp0-host.localdomain ( [85.202.171.205]) by mx.gmail.com with ESMTP id r34sm84826nfc.2006.08.02.05.53.21; Wed, 02 Aug 2006 05:53:22 -0700 (PDT) From: Simon Phoenix Organization: Phoenix Lab. To: freebsd-questions@freebsd.org Date: Wed, 2 Aug 2006 15:53:07 +0300 User-Agent: KMail/1.9.3 References: <58ebaa710608020248r1cfb7915t4caa0f6fcdbecb84@mail.gmail.com> In-Reply-To: <58ebaa710608020248r1cfb7915t4caa0f6fcdbecb84@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart26883079.VbQyzc2JmW"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608021553.19086.phoenix.lists@gmail.com> Subject: Re: 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 12:53:24 -0000 --nextPart26883079.VbQyzc2JmW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wednesday 02 August 2006 12:48, Mike Fern wrote: > 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? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" man pw Look for -h option description. -- Best regards, Simon Phoenix (Phoenix Lab.) KeyID: 0x2569D30B Fingerprint: 78FC 5C40 07CC D331 148E CC79 84B8 D514 2569 D30B --nextPart26883079.VbQyzc2JmW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBE0KA/hLjVFCVp0wsRAln7AKD30akZ7xP8YCDc2xlwXyut3V7XBQCcDeSr ZOwbdpvuWBgrnx59X9cfUeo= =1ZMU -----END PGP SIGNATURE----- --nextPart26883079.VbQyzc2JmW--