Random Password Generator
password
Random password generator written in perl, that also output the relevant phonetic alphabet entry for each character of the password. Useful for strong emergency backdoor passwords, to prevent the chance of needing it, and not being able to tell the difference between a 1 and an L character, or a Zero and an O. Arguments are passed to the script specifying the password length and the number of passwords to generate.

Changes in 2.0:
User can now select a password scheme. i.e. User can specify whether they want lower case chars, upper case chars, numbers, symbols or extended symbols (or a combination or each). It means that all passwords generated will meet the specified complexity.

Note: Run with no arguments for usage.

Examples:

Numbers + lowercase letters

./pw_gen.pl 3 10 na

Generating 3 password(s) of 10 character(s) length with complexity scheme 'na':

3005629kw2 (three - zero - zero - five - six - two - nine - kilo - whiskey - two)

9f9ef3e684 (nine - foxtrot - nine - echo - foxtrot - three - echo - six - eight - four)

xj1312f4gi (xray - juliet - one - three - one - two - foxtrot - four - golf - india)


Numbers + lowercase letters + regular symbols

./pw_gen.pl 3 10 nas

Generating 3 password(s) of 10 character(s) length with complexity scheme 'nas':

=o9!dskbk6 (equals - oscar - nine - exclamation - delta - sierra - kilo - bravo - kilo - six)

=.#ck8u%9g (equals - period - hash - charlie - kilo - eight - uniform - percent - nine - golf)

1m+.+a23c9 (one - mike - plus - period - plus - alpha - two - three - charlie - nine)


Uppercase letters

./pw_gen.pl 3 10 A

Generating 3 password(s) of 10 character(s) length with complexity scheme 'nas':

XYPNHCFMAJ (XRAY - YANKEE - PAPA - NOVEMBER - HOTEL - CHARLIE - FOXTROT - MIKE - ALPHA - JULIET)

QRZQORVIOY (QUEBEC - ROMEO - ZULU - QUEBEC - OSCAR - ROMEO - VICTOR - INDIA - OSCAR - YANKEE)

NFFBKGRURB (NOVEMBER - FOXTROT - FOXTROT - BRAVO - KILO - GOLF - ROMEO - UNIFORM - ROMEO - BRAVO)

Download it here
Automate backups to external HDDs when mounted
colors
A quick backup automation script based as extensions to this TUAW article on this tutorial. It will likely become redundant when Leopard ships, but I needed a solution now... Follow the tutorial linked in the beginning of this post, and just replace the tcsh script with the one in the downloads section. (Don't forget to set the appropriate variables in the top of script)

Features:
- Supports the backing up of multiple source directories
- Uses rsync to cut down on un-necessary file transfers
- Designed to allow for a minimum time between backups (default 24 hours) to prevent un-necessary system interruption

To Do list:
- Add network based rsync support (to initiate a backup on the detection of a "home" network);

Comments Welcome... dumptrash gmail dot com