Lenovo Ideacentre - how to start on power application?

Jeffrey Walton noloader at gmail.com
Sat Oct 19 22:42:50 UTC 2024


On Fri, Oct 18, 2024 at 10:37 AM Karl Auer <kauer at biplane.com.au> wrote:
>
> On Fri, 2024-10-18 at 14:07 +0200, Ralf Mardorf via ubuntu-users wrote:
> > On Fri, 2024-10-18 at 10:46 +0100, Liam Proven wrote:
> > > 42RSNM=GM#1
> >
> > Sorry Liam, I can't accept your password.
>
> tr -cd '[:alnum:][:punct:]' < /dev/urandom | fold -w32 | head -n1

You may be able to drop [:punct:] nowadays in the US. NIST just
updated password recommendations in SP 800-63-4. Most of the stupid
rules that harmed security, like complexity, expiration and security
questions, have been removed. In fact, they are now SHALL NOT, so they
are not even optional. See
<https://www.schneier.com/blog/archives/2024/09/nist-recommends-some-common-sense-password-rules.html>.

Something like this has always worked just fine:

    $ head -c 16 /dev/urandom | base32
    LD3N2YODMS6UHS2HA5JMCUFYCY
    $ head -c 16 /dev/urandom | base64
    9s0bBxEmCl23PXI+CCWSYw
    $ head -c 16 /dev/urandom | base58
    EAYUNkAgEcaA6NcCMKUa9F

The passwords have the same entropy -- 128-bits. The encoding does not
affect entropy.

Jeff




More information about the ubuntu-users mailing list