Category: mac

  • if you’re feeling (digitally) suicidal….

    … here’s how to decrease the security of your mac…. It was one of those situations that are hard to explain, but I wanted to execute an X program on a remote system and have it show up on my Mac’s screen WITHOUT using ssh. This was on Snow Leopard with the XQuartz X server,…

  • OMG, finally!

    I’ve waited for a over a decade, but finally – per process packet tracing on the mac (mountain lion.) For example, finding out the traffic that a python script sends via UDP and the return (both python programs on the same machine); the first sends “foo”, the server sends what it got plus “bar”: #…

  • looking for a good man(1)

    I like documentation.   Programs should have it.  But on the heels of the man path thing I did some more looking on my  Snow Leopard System. Finding all the SUID files outside the traditional /sbin areas shows a few more (e.g. “find -x / -type f -perm -04000 -ls”.)   Looks like 15 files, 8 of…

  • walk like a /usr/bin/man

    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…

  • getting password hash on OS-X

    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:…