From owner-freebsd-questions@FreeBSD.ORG Fri Sep 2 21:19:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B42BD106564A for ; Fri, 2 Sep 2011 21:19:10 +0000 (UTC) (envelope-from mlmichael70@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 475FA8FC12 for ; Fri, 2 Sep 2011 21:19:09 +0000 (UTC) Received: by wwi36 with SMTP id 36so3414038wwi.31 for ; Fri, 02 Sep 2011 14:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=4g+0JsbRHCFKrNajYeAEz0PqSmHOEfFLafTKzoBQTYo=; b=c+FrkPZeBi7NGH4U78ef5CoAPo7GYd1JKFglnL7Nh2eXj8pBvG0PwSGDWN9C0Oflbo uCeTqLzsh3iMX6EivDb6IuX55YgZoWZOk5vHP/5ZFbLtNVxiqPalBzqRd82s2tCqdX+G bKSe5ZwICFFoR7FK5sjyeDYi9AkhzbjIt5ViA= Received: by 10.216.220.168 with SMTP id o40mr1406047wep.75.1314998349252; Fri, 02 Sep 2011 14:19:09 -0700 (PDT) Received: from prime.nonspace (92.40.254.62.threembb.co.uk [92.40.254.62]) by mx.google.com with ESMTPS id ex16sm296468wbb.4.2011.09.02.14.19.07 (version=SSLv3 cipher=OTHER); Fri, 02 Sep 2011 14:19:08 -0700 (PDT) Message-ID: <4E61484F.3050101@gmail.com> Date: Fri, 02 Sep 2011 22:19:11 +0100 From: Michael User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.1) Gecko/20110901 Thunderbird/6.0.1 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" References: <4E5D28E0.5050700@gmail.com> <4E5D2C42.4020603@sentex.net> In-Reply-To: <4E5D2C42.4020603@sentex.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: random generated password 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: Fri, 02 Sep 2011 21:19:10 -0000 On 30/08/2011 19:30, Mike Tancsa wrote: >> >> Preferably in a non-interactive and scriptable way. Is it possible with >> the base system tools? > > 0(ich10)# pw usermod testuser1 -w random > Password for 'testuser1' is: km.y0LScI3p1 > 0(ich10)# pw usermod testuser1 -w random > Password for 'testuser1' is: P5RrhmUl4Np2 > 0(ich10)# > Perfect, exactly what I was looking for, thank you. Michael