Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Symbol characters for passwords

by dakkar (Hermit)
on Dec 23, 2002 at 10:14 UTC ( [id://221836]=note: print w/replies, xml ) Need Help??


in reply to Symbol characters for passwords

To generate new root passwords, we did:

#!/usr/bin/perl -w use MIME::Base64; open RND,'<','/dev/urandom'; sysread RND,$rnd,1024; close RND; print encode_base64($rnd);

And then we hunted into the result for something we would be able to remember.

Note: this supposes you are on a system that has /dev/urandom. Substitute it with any reasonable random-stream generator.

-- 
        dakkar - Mobilis in mobile

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://221836]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-25 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found