Name: ~parafin/linux/mkpass
Summary: displays some random passwords
Author: parafin
Created: Mon, 17 Aug 2009 23:30:13 GMT
Last update: Tue, 18 Aug 2009 14:46:58 GMT by parafin
Atom feed
Modify access level: moderator

mkpass

This little script will show window like this:

mkpassimage

Useful when you have to come up with new password for some website or such.

Dependencies

  • app-admin/apg
  • x11-misc/gxmessage
  • media-fonts/terminus-font

Well the last one isn't actually needed so much, any monospaced font will do, but you'll have to change script accordingly.

Code listing

mkpass
#!/bin/bash
(apg -ka1 -m10 -x15 -MSNCL;apg -ka1 -m10 -x15 -MNCL;apg -ka1 -m10 -x15 -MCL;apg -ka1 -m10 -x15 -ML)\
|column -c 77|gxmessage -file - -font terminus