Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Symbol characters for passwords

by dakkar (Hermit)
on Dec 23, 2002 at 10:14 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2022-05-22 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?