Code snippets, tech tricks and other bits and bobs

« Back to blog

*nix - Read .db files

Incredibly simple tip.

Convert the file with makemap then view with your preferred text editor:

# makemap hash access.db < access
# vi access
 

To rehash the file after editing:

# postmap virtual

If you are making major changes to the file and aren't 100% sure of what you are doing, BACK UP THE ORIGINAL FIRST!