walk like a /usr/bin/man

 code, dinosaur, mac, security, tech  Comments Off on walk like a /usr/bin/man
Jan 142012
 

Sometime, probably in the paleozoic era, I wrote a little perl script I just came across again.  At the time  I was frustrated by commands in /bin or /usr/bin not having documentation, even on a cleanly installed system… I guess I would think if something is important enough to install on a system you might want to tell your users what it does… so I thought I’d look at how […]

getting password hash on OS-X

 code, mac, security, tech  Comments Off on getting password hash on OS-X
Jan 142012
 

I keep having to look this up… so here’s a perl script (click to DL below). Also prints out some other stuff I keep forgetting how to get. Also does it for the user logged in, so you can sudo and have it work. Will die if you can’t read the hash file. Sample run: # ./get_hashpipe.pl Running Snow Leopard, version 10.6.8 You is: zen Gen UID for zen […]