From owner-freebsd-questions@FreeBSD.ORG Tue Aug 30 18:42:42 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 72BDF1065673 for ; Tue, 30 Aug 2011 18:42:42 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 094D48FC1B for ; Tue, 30 Aug 2011 18:42:41 +0000 (UTC) Received: by ewy1 with SMTP id 1so3957974ewy.13 for ; Tue, 30 Aug 2011 11:42:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.19.143 with SMTP id n15mr2189933een.201.1314729759986; Tue, 30 Aug 2011 11:42:39 -0700 (PDT) Received: by 10.14.97.77 with HTTP; Tue, 30 Aug 2011 11:42:39 -0700 (PDT) In-Reply-To: <86mxeqoi8t.fsf@red.stonehenge.com> References: <4E5D28E0.5050700@gmail.com> <86mxeqoi8t.fsf@red.stonehenge.com> Date: Tue, 30 Aug 2011 11:42:39 -0700 Message-ID: From: Michael Sierchio To: "Randal L. Schwartz" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Michael , "freebsd-questions@freebsd.org" 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: Tue, 30 Aug 2011 18:42:42 -0000 That occurred to me, but it's a smaller alphabet. Probably doesn't matter if the purpose is to make login unusable. On Tue, Aug 30, 2011 at 11:40 AM, Randal L. Schwartz wrote: >>>>>> "Michael" =3D=3D Michael Sierchio writes: > > Michael> dd if=3D/dev/random count=3D1 | tr -c "[:alnum:]" > Michael> '0-9A-Za-z0-9A-Za-z0-9A-Za-a-z0-9A-Za-z' > > Michael> will give you the right kind of characters to use, for example. > > I prefer "openssl rand -base64 6" to get an 8-char password from a > fairly large set of sensible characters. =A0Each multiple of 3 results in= 4 > characters in the output. > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 00= 95 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.posterous.com/ for Smalltalk discussion >